mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-04 18:52:38 +00:00
Use Fatalf
This commit is contained in:
@@ -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)))
|
||||
|
Reference in New Issue
Block a user