Use Fatalf

This commit is contained in:
Shawn Smith 2015-05-10 13:08:55 +09:00
parent 738f403eea
commit ecce796ee8

View File

@ -188,7 +188,7 @@ func ValidateClusterSize() {
}
stdout, err := cmd.Output()
if err != nil {
log.Fatal("Could not get nodes to validate cluster size (%s)", err)
log.Fatalf("Could not get nodes to validate cluster size (%s)", err)
}
numNodes, err := strconv.Atoi(strings.TrimSpace(string(stdout)))