summaryrefslogtreecommitdiff
path: root/cmd/podman/common/inspect.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/common/inspect.go')
-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"
)