Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Omer Aplatony <[email protected]>
  • Loading branch information
omerap12 committed Dec 31, 2024
1 parent f2717c0 commit a5e8b66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/etcdmain/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,8 @@ enable-distributed-tracing: true
}
defer os.Remove(tmpfile.Name())

if err := os.WriteFile(tmpfile.Name(), []byte(tc.yamlConfig), 0600); err != nil {
err = os.WriteFile(tmpfile.Name(), []byte(tc.yamlConfig), 0600)
if err != nil {
t.Fatal(err)
}

Expand Down

0 comments on commit a5e8b66

Please sign in to comment.