mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Remove entry point and project path from stack list command output columns
This commit is contained in:
parent
2456c349d1
commit
51ce690e1f
@ -77,20 +77,16 @@ var stackListCmd = &cobra.Command{
|
||||
"STACK ID",
|
||||
"NAME",
|
||||
"TYPE",
|
||||
"ENTRY POINT",
|
||||
"PROJECT PATH",
|
||||
"ENDPOINT ID",
|
||||
"SWARM ID",
|
||||
})
|
||||
common.CheckError(err)
|
||||
for _, s := range stacks {
|
||||
_, err := fmt.Fprintln(writer, fmt.Sprintf(
|
||||
"%v\t%s\t%v\t%s\t%s\t%v\t%s",
|
||||
"%v\t%s\t%v\t%v\t%s",
|
||||
s.Id,
|
||||
s.Name,
|
||||
s.GetTranslatedStackType(),
|
||||
s.EntryPoint,
|
||||
s.ProjectPath,
|
||||
s.EndpointID,
|
||||
s.SwarmID,
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user