We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gpctl clusters list
1 parent bbc39b9 commit 890ebc3Copy full SHA for 890ebc3
dev/gpctl/cmd/clusters-list.go
@@ -33,9 +33,9 @@ var clustersListCmd = &cobra.Command{
33
log.Fatal(err)
34
}
35
36
- tpl := `NAME URL STATIC STATE SCORE GOVERNED ADMISSION CONSTRAINTS
+ tpl := `NAME APPCLUSTER URL STATIC STATE SCORE GOVERNED ADMISSION CONSTRAINTS
37
{{- range .Status }}
38
-{{ .Name }} {{ .Url }} {{ .Static }} {{ .State }} {{ .Score }} {{ .Governed }} {{ .AdmissionConstraint -}}
+{{ .Name }} {{ .ApplicationCluster }} {{ .Url }} {{ .Static }} {{ .State }} {{ .Score }} {{ .Governed }} {{ .AdmissionConstraint -}}
39
{{ end }}
40
`
41
err = getOutputFormat(tpl, "{..name}").Print(resp)
0 commit comments