Skip to content

Commit

Permalink
Merge pull request kubernetes#54544 from YuxiJin-tobeyjin/fatal2fatalf
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
Kubernetes Submit Queue authored Jan 18, 2018
2 parents c7526fb + 10751e5 commit 7dadeee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7dadeee

Please sign in to comment.