summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-14 16:29:05 -0400
committerGitHub <noreply@github.com>2020-10-14 16:29:05 -0400
commite4f6a1afae1f28b9d7509a2a1b3e8180decbbb57 (patch)
treee1779a2f00a7c4dfb9303af8bc6b6cf8203f2185 /cmd
parent3e8e2a503544c7339f5b642301a0f3f090a075e8 (diff)
parentbddd5580ab01e164762e32b40eb8f1cdf81f3334 (diff)
downloadpodman-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')
-rw-r--r--cmd/podman/pods/inspect.go1
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)
}