1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00

Run gofmt and fix vet errors

This commit is contained in:
Josh Curl
2016-09-15 16:49:39 -07:00
parent 5cc30c6935
commit b65e429bb6
4 changed files with 11 additions and 11 deletions

View File

@@ -173,7 +173,7 @@ func writeRespawn() error {
p := path.Join("/etc/respawn.conf.d", f.Name())
content, err := ioutil.ReadFile(p)
if err != nil {
log.Error("Failed to read %s: %v", p, err)
log.Errorf("Failed to read %s: %v", p, err)
continue
}
respawn += fmt.Sprintf("\n%s", string(content))