diff options
author | baude <bbaude@redhat.com> | 2017-11-02 08:25:06 -0500 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2017-11-03 20:37:33 -0500 |
commit | aa19565d8d86701191bb2bf15fe0ab019da590dc (patch) | |
tree | a35e59ba9ab1f1b11754fcde54d4b606271c10b4 /cmd/kpod/create.go | |
parent | 99ca35f18598f77bcf260f91044116365d8e3c26 (diff) | |
download | podman-aa19565d8d86701191bb2bf15fe0ab019da590dc.tar.gz podman-aa19565d8d86701191bb2bf15fe0ab019da590dc.tar.bz2 podman-aa19565d8d86701191bb2bf15fe0ab019da590dc.zip |
spec.go: Remove cli context as func arg
Remove cli context as a func arg to make unit tests
easier.
Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/kpod/create.go')
-rw-r--r-- | cmd/kpod/create.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/kpod/create.go b/cmd/kpod/create.go index 545714c68..caee0c7f0 100644 --- a/cmd/kpod/create.go +++ b/cmd/kpod/create.go @@ -170,7 +170,7 @@ func createCmd(c *cli.Context) error { if err != nil { return err } - options, err := createConfig.GetContainerCreateOptions(c) + options, err := createConfig.GetContainerCreateOptions() if err != nil { return errors.Wrapf(err, "unable to parse new container options") } |