chore(influx): update influx stacks rm cmd printout

pull/18682/head
Johnny Steenbergen 2020-06-23 17:51:42 -07:00 committed by Johnny Steenbergen
parent a1dfa45e34
commit dcc6bd197a
1 changed files with 2 additions and 1 deletions

View File

@ -841,13 +841,14 @@ func (b *cmdPkgBuilder) stackRemoveRunEFn(cmd *cobra.Command, args []string) err
tabW.HideHeaders(b.hideHeaders)
tabW.WriteHeaders("ID", "OrgID", "Name", "Description", "Num Resources", "URLs", "Created At")
tabW.WriteHeaders("ID", "OrgID", "Name", "Description", "Num Resources", "Sources", "URLs", "Created At")
tabW.Write(map[string]interface{}{
"ID": stack.ID,
"OrgID": stack.OrgID,
"Name": stack.Name,
"Description": stack.Description,
"Num Resources": len(stack.Resources),
"Sources": stack.Sources,
"URLs": stack.URLs,
"Created At": stack.CreatedAt,
})