소스 검색

Merge pull request #1953 from porter-dev/nafees/hotfixes

[hotfix] Minor fixes for tab writer `porter delete addon`
abelanger5 4 년 전
부모
커밋
d2f39f78cd
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      cli/cmd/delete.go
  2. 1 1
      cli/cmd/list.go

+ 1 - 1
cli/cmd/delete.go

@@ -224,7 +224,7 @@ func deleteAddon(_ *types.GetAuthenticatedUserResponse, client *api.Client, args
 		return fmt.Errorf("no addon found with name: %s", name)
 	}
 
-	color.New(color.FgBlue).Printf("Deleting job: %s\n", name)
+	color.New(color.FgBlue).Printf("Deleting addon: %s\n", name)
 
 	err = client.DeleteRelease(
 		context.Background(), cliConf.Project, cliConf.Cluster, namespace, name,

+ 1 - 1
cli/cmd/list.go

@@ -145,7 +145,7 @@ func writeReleases(client *api.Client, kind string) error {
 	}
 
 	w := new(tabwriter.Writer)
-	w.Init(os.Stdout, 3, 8, 0, '\t', tabwriter.AlignRight)
+	w.Init(os.Stdout, 3, 8, 2, '\t', tabwriter.AlignRight)
 
 	fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", "NAME", "NAMESPACE", "STATUS", "KIND")