diff options
author | Aditya R <arajan@redhat.com> | 2022-04-22 00:47:10 +0530 |
---|---|---|
committer | Aditya R <arajan@redhat.com> | 2022-04-22 00:58:40 +0530 |
commit | 8080a5f8ec8ad798eab194ef495a68824bd2e802 (patch) | |
tree | 3ce0106afbfbdbfb55f018a662329c0025a889f9 /libpod/define/container_inspect.go | |
parent | 121dde6234ddfcaf11abea03449bfd2a11da90a5 (diff) | |
download | podman-8080a5f8ec8ad798eab194ef495a68824bd2e802.tar.gz podman-8080a5f8ec8ad798eab194ef495a68824bd2e802.tar.bz2 podman-8080a5f8ec8ad798eab194ef495a68824bd2e802.zip |
Revert "container,inspect: convert Entrypoint to array instead of a string"
It seems this breaks older version of `podman-remote` users hence it
looks like this patch would be a better candidate for podman `5.0`
Problem
* Client with `4.0` cannot interact with a server of `4.1`
Plan this patch for podman `5.0`
This reverts commit 0cebd158b6d8da1828b1255982e27fe9224310d0.
Signed-off-by: Aditya R <arajan@redhat.com>
Diffstat (limited to 'libpod/define/container_inspect.go')
-rw-r--r-- | libpod/define/container_inspect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/define/container_inspect.go b/libpod/define/container_inspect.go index 444fbff62..ae2ce9724 100644 --- a/libpod/define/container_inspect.go +++ b/libpod/define/container_inspect.go @@ -44,7 +44,7 @@ type InspectContainerConfig struct { // Container working directory WorkingDir string `json:"WorkingDir"` // Container entrypoint - Entrypoint []string `json:"Entrypoint"` + Entrypoint string `json:"Entrypoint"` // On-build arguments - presently unused. More of Buildah's domain. OnBuild *string `json:"OnBuild"` // Container labels |