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",
|
"STACK ID",
|
||||||
"NAME",
|
"NAME",
|
||||||
"TYPE",
|
"TYPE",
|
||||||
"ENTRY POINT",
|
|
||||||
"PROJECT PATH",
|
|
||||||
"ENDPOINT ID",
|
"ENDPOINT ID",
|
||||||
"SWARM ID",
|
"SWARM ID",
|
||||||
})
|
})
|
||||||
common.CheckError(err)
|
common.CheckError(err)
|
||||||
for _, s := range stacks {
|
for _, s := range stacks {
|
||||||
_, err := fmt.Fprintln(writer, fmt.Sprintf(
|
_, 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.Id,
|
||||||
s.Name,
|
s.Name,
|
||||||
s.GetTranslatedStackType(),
|
s.GetTranslatedStackType(),
|
||||||
s.EntryPoint,
|
|
||||||
s.ProjectPath,
|
|
||||||
s.EndpointID,
|
s.EndpointID,
|
||||||
s.SwarmID,
|
s.SwarmID,
|
||||||
))
|
))
|
||||||
|
Loading…
Reference in New Issue
Block a user