fix go vet warning
This commit is contained in:
parent
0dd80c0eca
commit
511013dbe4
2
main.go
2
main.go
|
@ -238,7 +238,7 @@ func loadConfig() (*config, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println("[WARN] Config file doesn't exist: %s", configFilePath)
|
log.Printf("[WARN] Config file doesn't exist: %s", configFilePath)
|
||||||
return &config, nil
|
return &config, nil
|
||||||
}
|
}
|
||||||
defer f.Close()
|
defer f.Close()
|
||||||
|
|
Loading…
Reference in New Issue