Skip to content

Commit

Permalink
Fix indentation for podman pod inspect
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Heon <[email protected]>
  • Loading branch information
mheon committed Oct 14, 2020
1 parent d30b4b7 commit bddd558
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 bddd558

Please sign in to comment.