mirror of https://github.com/kubernetes/kops.git
Merge pull request #15694 from haojue/dev/validatecluster
update logs with "cannot render instance groups" instead of "cannot render nodes" in validate_cluster.go
This commit is contained in:
commit
72f54ad126
|
|
@ -264,7 +264,7 @@ func validateClusterOutputTable(result *validation.ValidationCluster, cluster *k
|
|||
fmt.Fprintln(out, "INSTANCE GROUPS")
|
||||
err := t.Render(instanceGroups, out, "NAME", "ROLE", "MACHINETYPE", "MIN", "MAX", "SUBNETS")
|
||||
if err != nil {
|
||||
return fmt.Errorf("cannot render nodes for %q: %v", cluster.Name, err)
|
||||
return fmt.Errorf("cannot render instance groups for %q: %w", cluster.Name, err)
|
||||
}
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue