mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #54544 from YuxiJin-tobeyjin/fatal2fatalf
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Use Fatalf instead of Fatal while formatting the output is needed **What this PR does / why we need it**: Should use Fatalf instead of Fatal while formatting the output is needed **Release note**: NONE ```release-note ```
This commit is contained in:
commit
7dadeee5e8
@ -1193,7 +1193,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