Remove entry point and project path from stack list command output columns

This commit is contained in:
Juan Carlos Mejías Rodríguez 2019-08-09 12:46:29 -04:00
parent 2456c349d1
commit 51ce690e1f

View File

@ -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,
))