diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-06-11 15:51:38 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-06-12 00:47:56 +0000 |
commit | ab72130650c7a43421f35b754d51632e3df70966 (patch) | |
tree | 5bbeb05b2e2a5f61566be4f052ac79d0ace0c94a /cmd/podman/import.go | |
parent | 9b72746f9a3f0f76e6777ca21032dfad33d1bc72 (diff) | |
download | podman-ab72130650c7a43421f35b754d51632e3df70966.tar.gz podman-ab72130650c7a43421f35b754d51632e3df70966.tar.bz2 podman-ab72130650c7a43421f35b754d51632e3df70966.zip |
Aliases do not work with IsSet
Have to specify all names.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #933
Approved by: baude
Diffstat (limited to 'cmd/podman/import.go')
-rw-r--r-- | cmd/podman/import.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/import.go b/cmd/podman/import.go index c2bcc8f5b..8a50d4fb9 100644 --- a/cmd/podman/import.go +++ b/cmd/podman/import.go @@ -80,7 +80,7 @@ func importCmd(c *cli.Context) error { } changes := v1.ImageConfig{} - if c.IsSet("change") { + if c.IsSet("change") || c.IsSet("c") { changes, err = util.GetImageConfig(c.StringSlice("change")) if err != nil { return errors.Wrapf(err, "error adding config changes to image %q", source) |