mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-19 16:49:35 +00:00
Fix swallowed error in registrytest
This commit is contained in:
parent
83e9cadc02
commit
a011a6d41e
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user