aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/shared/create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-15 12:50:48 +0100
committerGitHub <noreply@github.com>2020-02-15 12:50:48 +0100
commit92dbcb8841abae35658e5da1bf6eddee7669ea75 (patch)
treea0544ba444109eb5a8f252c8821828282225d8ad /cmd/podman/shared/create.go
parent9e9b157aa925d8d427999389aabf915dcad83355 (diff)
parent36a0ed9702bf4e6ef50650404c838a26f13ba879 (diff)
downloadpodman-92dbcb8841abae35658e5da1bf6eddee7669ea75.tar.gz
podman-92dbcb8841abae35658e5da1bf6eddee7669ea75.tar.bz2
podman-92dbcb8841abae35658e5da1bf6eddee7669ea75.zip
Merge pull request #5217 from mheon/rework_label_parsing
Rework label parsing
Diffstat (limited to 'cmd/podman/shared/create.go')
-rw-r--r--cmd/podman/shared/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/shared/create.go b/cmd/podman/shared/create.go
index be5adcccb..99538b3dc 100644
--- a/cmd/podman/shared/create.go
+++ b/cmd/podman/shared/create.go
@@ -488,7 +488,7 @@ func ParseCreateOpts(ctx context.Context, c *GenericCLIResults, runtime *libpod.
}
// LABEL VARIABLES
- labels, err := GetAllLabels(c.StringSlice("label-file"), c.StringArray("label"))
+ labels, err := parse.GetAllLabels(c.StringSlice("label-file"), c.StringArray("label"))
if err != nil {
return nil, errors.Wrapf(err, "unable to process labels")
}