aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/common
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-08 16:36:08 +0200
committerGitHub <noreply@github.com>2022-09-08 16:36:08 +0200
commiteb758c5f583aff06accb1eef08f1b62509ca813c (patch)
treea23a23de3b603b237262bd8586f2ecbf386e9081 /cmd/podman/common
parent95eff1aa402c3d159c8ad25d8140b879d5feccf2 (diff)
parentd10e77e1bcd25306ab8afd4ce7da16eed3c67840 (diff)
downloadpodman-eb758c5f583aff06accb1eef08f1b62509ca813c.tar.gz
podman-eb758c5f583aff06accb1eef08f1b62509ca813c.tar.bz2
podman-eb758c5f583aff06accb1eef08f1b62509ca813c.zip
Merge pull request #15675 from Luap99/pod-inspect
fix podman pod inspect to support multiple pods
Diffstat (limited to 'cmd/podman/common')
-rw-r--r--cmd/podman/common/inspect.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/common/inspect.go b/cmd/podman/common/inspect.go
index 12a5af5a9..f82161d31 100644
--- a/cmd/podman/common/inspect.go
+++ b/cmd/podman/common/inspect.go
@@ -11,6 +11,10 @@ const (
NetworkType = "network"
// PodType is the pod type.
PodType = "pod"
+ // PodLegacyType is the pod type for backwards compatibility with the old pod inspect code.
+ // This allows us to use the shared inspect code but still provide the correct output format
+ // when podman pod inspect was called.
+ PodLegacyType = "pod-legacy"
// VolumeType is the volume type
VolumeType = "volume"
)