From 8080a5f8ec8ad798eab194ef495a68824bd2e802 Mon Sep 17 00:00:00 2001 From: Aditya R Date: Fri, 22 Apr 2022 00:47:10 +0530 Subject: 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 --- libpod/define/container_inspect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpod/define') 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 -- cgit v1.2.3-54-g00ecf