summaryrefslogtreecommitdiff
path: root/pkg/varlinkapi
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-01-12 07:20:36 -0800
committerGitHub <noreply@github.com>2019-01-12 07:20:36 -0800
commita08da3768255c1155aa14b73bf17d34e5214c568 (patch)
tree3f4f1272973d5cf8b45cbc04873d1a3d3a5952d6 /pkg/varlinkapi
parent5c86efb28976938ad77fcc0f677e0842d06b65b5 (diff)
parente10baba32673d4b6d9ada129941428fc8f8304eb (diff)
downloadpodman-a08da3768255c1155aa14b73bf17d34e5214c568.tar.gz
podman-a08da3768255c1155aa14b73bf17d34e5214c568.tar.bz2
podman-a08da3768255c1155aa14b73bf17d34e5214c568.zip
Merge pull request #2145 from baude/playcontainerintopod
podman play kube: add containers to pod
Diffstat (limited to 'pkg/varlinkapi')
-rw-r--r--pkg/varlinkapi/containers_create.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/varlinkapi/containers_create.go b/pkg/varlinkapi/containers_create.go
index 63bc93686..d72eaeb18 100644
--- a/pkg/varlinkapi/containers_create.go
+++ b/pkg/varlinkapi/containers_create.go
@@ -41,7 +41,9 @@ func (i *LibpodAPI) CreateContainer(call iopodman.VarlinkCall, config iopodman.C
return call.ReplyErrorOccurred(err.Error())
}
- options, err := createConfig.GetContainerCreateOptions(i.Runtime)
+ // TODO fix when doing remote client and dealing with the ability to create a container
+ // within a non-existing pod (i.e. --pod new:foobar)
+ options, err := createConfig.GetContainerCreateOptions(i.Runtime, nil)
if err != nil {
return call.ReplyErrorOccurred(err.Error())
}