Correcting all go vet errors

This commit is contained in:
Kris Rousey
2015-08-07 18:52:23 -07:00
parent 9fdd793555
commit 565189f5b8
118 changed files with 285 additions and 298 deletions

View File

@@ -60,7 +60,7 @@ func coreDump(dir string) {
// I wish there was a better way to get the master IP...
config, err := loadConfig()
if err != nil {
fmt.Printf("Error loading config: %v")
fmt.Printf("Error loading config: %v", err)
}
ix := strings.LastIndex(config.Host, "/")
master := net.JoinHostPort(config.Host[ix+1:], "22")