diff --git a/pkg/cmd/gtctl/cluster/get/get.go b/pkg/cmd/gtctl/cluster/get/get.go index b3e24238..77f9f195 100644 --- a/pkg/cmd/gtctl/cluster/get/get.go +++ b/pkg/cmd/gtctl/cluster/get/get.go @@ -172,12 +172,12 @@ func collectClusterInfoFromBareMetal(data *bmconfig.MetaConfig) ( fmt.Sprintf("CLUSTER-DIR: %s", data.ClusterDir), } if err != nil { - footers = append(footers, fmt.Sprintf("CLUSTER-CONFIG: error retreiving cluster config: %v", err)) + footers = append(footers, fmt.Sprintf("CLUSTER-CONFIG: error retrieving cluster config: %v", err)) } else { footers = append(footers, fmt.Sprintf("CLUSTER-CONFIG:\n%s", string(config))) } - return + return headers, footers, bulk } // collectPidsForBareMetal returns the pid of each component.