Skip to content

Commit adbcc40

Browse files
authored
CLOUDP-77819: mongocli om process ls is all one line (#534)
1 parent 86e6b9f commit adbcc40

File tree

1 file changed

+2
-1
lines changed
  • internal/cli/opsmanager/processes

1 file changed

+2
-1
lines changed

internal/cli/opsmanager/processes/list.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ func (opts *ListOpts) initStore() error {
3939
return err
4040
}
4141

42-
var listTemplate = `ID TYPE HOSTNAME STATE NAME PORT{{range .Results}}{{.ID}} {{.TypeName}} {{.ReplicaStateName}} {{.Hostname}} {{.Port}}{{end}}
42+
var listTemplate = `ID TYPE HOSTNAME STATE NAME PORT{{range .Results}}
43+
{{.ID}} {{.TypeName}} {{.Hostname}} {{.ReplicaStateName}} {{.Port}}{{end}}
4344
`
4445

4546
func (opts *ListOpts) Run() error {

0 commit comments

Comments
 (0)