mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-21 18:59:55 +08:00
fix go vet error
This commit is contained in:
parent
ddd69d19c0
commit
e3ec7394ab
@ -168,7 +168,7 @@ func beforeServeHttpTest(t *testing.T) {
|
||||
// and fill them with content
|
||||
_, err = f.WriteString(fileContent)
|
||||
if err != nil {
|
||||
t.Fatal("Failed to write to %s. Error was: %v", absFile, err)
|
||||
t.Fatalf("Failed to write to %s. Error was: %v", absFile, err)
|
||||
return
|
||||
}
|
||||
f.Close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user