mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Should use Fatalf while need to format the output
This commit is contained in:
parent
c0a519be1f
commit
10751e54e6
@ -1161,7 +1161,7 @@ func testPropogateStore(ctx context.Context, t *testing.T, store *store, obj *ex
|
||||
key := "/testkey"
|
||||
err := store.unconditionalDelete(ctx, key, &example.Pod{})
|
||||
if err != nil && !storage.IsNotFound(err) {
|
||||
t.Fatal("Cleanup failed: %v", err)
|
||||
t.Fatalf("Cleanup failed: %v", err)
|
||||
}
|
||||
setOutput := &example.Pod{}
|
||||
if err := store.Create(ctx, key, obj, setOutput, 0); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user