mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-21 17:48:01 +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
|
return err
|
||||||
}
|
}
|
||||||
_, _, err = t.storage.Delete(ctx, accessor.GetName(), nil)
|
_, _, err = t.storage.Delete(ctx, accessor.GetName(), nil)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
err = fmt.Errorf("unexpected action: %v", action)
|
err = fmt.Errorf("unexpected action: %v", action)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user