diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-11 11:43:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-11 11:43:03 -0700 |
commit | 7038cac53c4c93cd088fdbb097eee8d45494c3b8 (patch) | |
tree | 958df194bdd61cc209efa0480ea52634149f6250 /cmd/podman/run_test.go | |
parent | b8863b260a7885981def2b02b5acc7c9a209e0c6 (diff) | |
parent | 651520389d239f335248a27595d39a815ef95238 (diff) | |
download | podman-7038cac53c4c93cd088fdbb097eee8d45494c3b8.tar.gz podman-7038cac53c4c93cd088fdbb097eee8d45494c3b8.tar.bz2 podman-7038cac53c4c93cd088fdbb097eee8d45494c3b8.zip |
Merge pull request #2578 from baude/movecreate
preparation for remote-client create container
Diffstat (limited to 'cmd/podman/run_test.go')
-rw-r--r-- | cmd/podman/run_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/run_test.go b/cmd/podman/run_test.go index 5ea39e457..a896f1dc7 100644 --- a/cmd/podman/run_test.go +++ b/cmd/podman/run_test.go @@ -5,6 +5,7 @@ import ( "testing" "github.com/containers/libpod/cmd/podman/cliconfig" + "github.com/containers/libpod/cmd/podman/shared" "github.com/containers/libpod/pkg/inspect" cc "github.com/containers/libpod/pkg/spec" "github.com/docker/go-units" @@ -80,7 +81,7 @@ func getRuntimeSpec(c *cliconfig.PodmanCommand) (*spec.Spec, error) { createConfig, err := parseCreateOpts(c, runtime, "alpine", generateAlpineImageData()) */ ctx := getContext() - createConfig, err := parseCreateOpts(ctx, c, nil, "alpine", generateAlpineImageData()) + createConfig, err := shared.ParseCreateOpts(ctx, c, nil, "alpine", generateAlpineImageData()) if err != nil { return nil, err } |