diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-28 07:06:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-28 07:06:31 -0700 |
commit | e7a2eecf5f3975edfb92cd2cacff0d34ef45f808 (patch) | |
tree | 5557aaeb6ec27d61b75b1db18dc5e0a4d85c90be /cmd/podman/ps.go | |
parent | 850326cc192444d1c5cfd8ba6e1015f653b41e73 (diff) | |
parent | 179a66f1a0a22be66c0346afa8ea3181d5846fb2 (diff) | |
download | podman-e7a2eecf5f3975edfb92cd2cacff0d34ef45f808.tar.gz podman-e7a2eecf5f3975edfb92cd2cacff0d34ef45f808.tar.bz2 podman-e7a2eecf5f3975edfb92cd2cacff0d34ef45f808.zip |
Merge pull request #2760 from mheon/misc_small_changes
Remove ulele/deepcopier in favor of JSON deep copy
Diffstat (limited to 'cmd/podman/ps.go')
-rw-r--r-- | cmd/podman/ps.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/podman/ps.go b/cmd/podman/ps.go index 27774f95d..a9802d27f 100644 --- a/cmd/podman/ps.go +++ b/cmd/podman/ps.go @@ -1,7 +1,6 @@ package main import ( - "encoding/json" "fmt" "html/template" "os" @@ -647,7 +646,7 @@ func printFormat(format string, containers []shared.PsContainerOutput) error { } func dumpJSON(containers []shared.PsContainerOutput) error { - b, err := json.MarshalIndent(containers, "", "\t") + b, err := json.MarshalIndent(containers, "", " ") if err != nil { return err } |