summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/podman/ps.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/ps.go b/cmd/podman/ps.go
index b659a91a0..f2ea3939b 100644
--- a/cmd/podman/ps.go
+++ b/cmd/podman/ps.go
@@ -63,8 +63,8 @@ type psJSONParams struct {
Status string `json:"status"`
PID int `json:"PID"`
Ports []ocicni.PortMapping `json:"ports"`
- RootFsSize int64 `json:"rootFsSize"`
- RWSize int64 `json:"rwSize"`
+ RootFsSize int64 `json:"rootFsSize,omitempty"`
+ RWSize int64 `json:"rwSize,omitempty"`
Names string `json:"names"`
Labels fields.Set `json:"labels"`
Mounts []string `json:"mounts"`