From 9fa3fcc59f6eadaa0d665b1c84afa71ccafb915e Mon Sep 17 00:00:00 2001 From: sh2 Date: Thu, 24 Aug 2023 10:45:21 +0800 Subject: [PATCH] fix ci Signed-off-by: sh2 --- pkg/cmd/gtctl/cluster/get/get.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.