Skip to content

Commit

Permalink
Merge pull request #8021 from mheon/fix_pod_inspect_indent
Browse files Browse the repository at this point in the history
Fix indentation for `podman pod inspect`
  • Loading branch information
openshift-merge-robot authored Oct 14, 2020
2 parents 3e8e2a5 + bddd558 commit e4f6a1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/podman/pods/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func inspect(cmd *cobra.Command, args []string) error {

if parse.MatchesJSONFormat(inspectOptions.Format) {
enc := json.NewEncoder(os.Stdout)
enc.SetIndent("", " ")
return enc.Encode(responses)
}

Expand Down

0 comments on commit e4f6a1a

Please sign in to comment.