Commit ecce796e authored by Shawn Smith's avatar Shawn Smith

Use Fatalf

parent 738f403e
...@@ -188,7 +188,7 @@ func ValidateClusterSize() { ...@@ -188,7 +188,7 @@ func ValidateClusterSize() {
} }
stdout, err := cmd.Output() stdout, err := cmd.Output()
if err != nil { 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))) numNodes, err := strconv.Atoi(strings.TrimSpace(string(stdout)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment