summaryrefslogtreecommitdiff
path: root/cmd/podman/pods
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2020-10-14 13:46:18 -0400
committerMatthew Heon <mheon@redhat.com>2020-10-14 13:55:16 -0400
commitbddd5580ab01e164762e32b40eb8f1cdf81f3334 (patch)
tree8018afc344e4088f5cadf8504d09a2af514b33b0 /cmd/podman/pods
parentd30b4b7aa5076c3192faada7d408f039a40414eb (diff)
downloadpodman-bddd5580ab01e164762e32b40eb8f1cdf81f3334.tar.gz
podman-bddd5580ab01e164762e32b40eb8f1cdf81f3334.tar.bz2
podman-bddd5580ab01e164762e32b40eb8f1cdf81f3334.zip
Fix indentation for `podman pod inspect`
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'cmd/podman/pods')
-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)
}