Should use Fatalf while need to format the output

This commit is contained in:
YuxiJin-tobeyjin 2017-10-25 16:20:32 +08:00
parent c0a519be1f
commit 10751e54e6

View File

@ -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 {