diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-07-13 13:20:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-13 13:20:26 +0200 |
commit | e2a8e037d1c3a2176cd15493812bf165faea63f2 (patch) | |
tree | e01065d69937d364a355441fd7df7fc90c8f0f37 /pkg/spec/createconfig.go | |
parent | e38001f123a04f905a37bf038b2c983ebe350996 (diff) | |
parent | c4627b5846ba16540dc61db91b059eb39555ec4a (diff) | |
download | podman-e2a8e037d1c3a2176cd15493812bf165faea63f2.tar.gz podman-e2a8e037d1c3a2176cd15493812bf165faea63f2.tar.bz2 podman-e2a8e037d1c3a2176cd15493812bf165faea63f2.zip |
Merge pull request #6896 from mheon/fix_remote_createcommand
Fix container and pod create commands for remote create
Diffstat (limited to 'pkg/spec/createconfig.go')
-rw-r--r-- | pkg/spec/createconfig.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/spec/createconfig.go b/pkg/spec/createconfig.go index 879c66895..55c3238d2 100644 --- a/pkg/spec/createconfig.go +++ b/pkg/spec/createconfig.go @@ -406,10 +406,6 @@ func CreateContainerFromCreateConfig(ctx context.Context, r *libpod.Runtime, cre return nil, err } - // Set the CreateCommand explicitly. Some (future) consumers of libpod - // might not want to set it. - options = append(options, libpod.WithCreateCommand()) - ctr, err := r.NewContainer(ctx, runtimeSpec, options...) if err != nil { return nil, err |