diff options
author | baude <bbaude@redhat.com> | 2018-10-08 13:46:09 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2018-10-11 09:52:53 -0500 |
commit | 255b56ae4122e25a969bbd13d8105763746d2ca7 (patch) | |
tree | e275d10256d93f6893f961dfdcd6aef18fcd6a88 /cmd/podman/shared | |
parent | 23c9816ba9ff1af3538dcb725d86fc565df53a30 (diff) | |
download | podman-255b56ae4122e25a969bbd13d8105763746d2ca7.tar.gz podman-255b56ae4122e25a969bbd13d8105763746d2ca7.tar.bz2 podman-255b56ae4122e25a969bbd13d8105763746d2ca7.zip |
fix runlabel functions based on QA feedback
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/shared')
-rw-r--r-- | cmd/podman/shared/funcs.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |