From 255b56ae4122e25a969bbd13d8105763746d2ca7 Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 8 Oct 2018 13:46:09 -0500 Subject: fix runlabel functions based on QA feedback Signed-off-by: baude --- cmd/podman/shared/funcs.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmd/podman/shared') diff --git a/cmd/podman/shared/funcs.go b/cmd/podman/shared/funcs.go index 21e7fe10d..485944f29 100644 --- a/cmd/podman/shared/funcs.go +++ b/cmd/podman/shared/funcs.go @@ -24,10 +24,14 @@ func GenerateCommand(command, imageName, name string) []string { newArg = imageName case "IMAGE=IMAGE": newArg = fmt.Sprintf("IMAGE=%s", imageName) + case "IMAGE=$IMAGE": + newArg = fmt.Sprintf("IMAGE=%s", imageName) case "NAME": newArg = name case "NAME=NAME": newArg = fmt.Sprintf("NAME=%s", name) + case "NAME=$NAME": + newArg = fmt.Sprintf("NAME=%s", name) default: newArg = arg } -- cgit v1.2.3-54-g00ecf