diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-14 16:29:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-14 16:29:05 -0400 |
commit | e4f6a1afae1f28b9d7509a2a1b3e8180decbbb57 (patch) | |
tree | e1779a2f00a7c4dfb9303af8bc6b6cf8203f2185 /cmd/podman/pods/inspect.go | |
parent | 3e8e2a503544c7339f5b642301a0f3f090a075e8 (diff) | |
parent | bddd5580ab01e164762e32b40eb8f1cdf81f3334 (diff) | |
download | podman-e4f6a1afae1f28b9d7509a2a1b3e8180decbbb57.tar.gz podman-e4f6a1afae1f28b9d7509a2a1b3e8180decbbb57.tar.bz2 podman-e4f6a1afae1f28b9d7509a2a1b3e8180decbbb57.zip |
Merge pull request #8021 from mheon/fix_pod_inspect_indent
Fix indentation for `podman pod inspect`
Diffstat (limited to 'cmd/podman/pods/inspect.go')
-rw-r--r-- | cmd/podman/pods/inspect.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/pods/inspect.go b/cmd/podman/pods/inspect.go index cad15d10f..142c8d270 100644 --- a/cmd/podman/pods/inspect.go +++ b/cmd/podman/pods/inspect.go @@ -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) } |