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:
Kubernetes Prow Robot 2023-07-25 12:59:56 -07:00 committed by GitHub
commit 72f54ad126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
{