summaryrefslogtreecommitdiff
path: root/pkg/varlinkapi/pods.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-25 21:57:42 +0100
committerGitHub <noreply@github.com>2019-02-25 21:57:42 +0100
commitcf521449e5d11813571c5e9b86668fbefdd5aa99 (patch)
tree59fd18a92ea2bc40cb3cf16c9cd6a0f178b74e65 /pkg/varlinkapi/pods.go
parente45c44208067f4ac26c5136842d5a17478f5234c (diff)
parent43a1686598c92c9e2a839909b8b5edb9f1b0f00f (diff)
downloadpodman-cf521449e5d11813571c5e9b86668fbefdd5aa99.tar.gz
podman-cf521449e5d11813571c5e9b86668fbefdd5aa99.tar.bz2
podman-cf521449e5d11813571c5e9b86668fbefdd5aa99.zip
Merge pull request #2422 from baude/remotepodcreate
podman-remote create|ps
Diffstat (limited to 'pkg/varlinkapi/pods.go')
-rw-r--r--pkg/varlinkapi/pods.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/varlinkapi/pods.go b/pkg/varlinkapi/pods.go
index ceeed6681..4ca4c4270 100644
--- a/pkg/varlinkapi/pods.go
+++ b/pkg/varlinkapi/pods.go
@@ -14,10 +14,6 @@ import (
// CreatePod ...
func (i *LibpodAPI) CreatePod(call iopodman.VarlinkCall, create iopodman.PodCreate) error {
var options []libpod.PodCreateOption
-
- if create.InfraCommand != "" || create.InfraImage != "" {
- return call.ReplyErrorOccurred("the infra-command and infra-image options are not supported yet")
- }
if create.CgroupParent != "" {
options = append(options, libpod.WithPodCgroupParent(create.CgroupParent))
}