summaryrefslogtreecommitdiff
path: root/cmd/podman/create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-08 07:11:18 -0800
committerGitHub <noreply@github.com>2019-03-08 07:11:18 -0800
commit8c54126b6f60d216350cda29a5a5ed8b216854fe (patch)
treee4fafd1aea96b418d592efad3b7ae390017c21fe /cmd/podman/create.go
parent9e2cd7fea1c03e36c9354c8f67a4f08721fdc503 (diff)
parenta7606ca5d92eeba25956362d5c8a7b687e2f52cd (diff)
downloadpodman-8c54126b6f60d216350cda29a5a5ed8b216854fe.tar.gz
podman-8c54126b6f60d216350cda29a5a5ed8b216854fe.tar.bz2
podman-8c54126b6f60d216350cda29a5a5ed8b216854fe.zip
Merge pull request #2582 from baude/issue2574
label parsing in non-quoted field
Diffstat (limited to 'cmd/podman/create.go')
-rw-r--r--cmd/podman/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/create.go b/cmd/podman/create.go
index 968b5586b..fa8b9f57b 100644
--- a/cmd/podman/create.go
+++ b/cmd/podman/create.go
@@ -592,7 +592,7 @@ func parseCreateOpts(ctx context.Context, c *cliconfig.PodmanCommand, runtime *l
}
// LABEL VARIABLES
- labels, err := getAllLabels(c.StringSlice("label-file"), c.StringSlice("label"))
+ labels, err := getAllLabels(c.StringSlice("label-file"), c.StringArray("label"))
if err != nil {
return nil, errors.Wrapf(err, "unable to process labels")
}