summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-04-19 07:53:24 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-04-20 15:52:46 -0400
commitb35a0d0cd2bad55e7d1a7c8d77322d2ff3f43600 (patch)
tree6a6aac6793cd1fdd5bbb11acfab1cce0efc2abb9 /pkg
parenteb101936e6ab21009b130a9e3ddfa939f416ca40 (diff)
downloadpodman-b35a0d0cd2bad55e7d1a7c8d77322d2ff3f43600.tar.gz
podman-b35a0d0cd2bad55e7d1a7c8d77322d2ff3f43600.tar.bz2
podman-b35a0d0cd2bad55e7d1a7c8d77322d2ff3f43600.zip
Fix podman inspect to accept -l and -s fields
Podman inspect has a breaking change in that it dropped --latest and --size options. This PR adds these back. Lots of tests rely on podman inspect -l. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/domain/entities/types.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/entities/types.go b/pkg/domain/entities/types.go
index b89aa869a..096af2df2 100644
--- a/pkg/domain/entities/types.go
+++ b/pkg/domain/entities/types.go
@@ -50,6 +50,7 @@ type InspectOptions struct {
Format string `json:",omitempty"`
Latest bool `json:",omitempty"`
Size bool `json:",omitempty"`
+ Type string `json:",omitempty"`
}
// All API and CLI diff commands and diff sub-commands use the same options