Fix swallowed error in registrytest

This commit is contained in:
Lars Lehtonen 2017-08-23 19:19:42 -07:00
parent 83e9cadc02
commit a011a6d41e
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2

View File

@ -222,6 +222,9 @@ func (t *Tester) emitObject(obj runtime.Object, action string) error {
return err
}
_, _, err = t.storage.Delete(ctx, accessor.GetName(), nil)
if err != nil {
return err
}
default:
err = fmt.Errorf("unexpected action: %v", action)
}