diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-15 09:59:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 09:59:18 -0700 |
commit | 59dd3418f6ee137aa0c2cf678dc9444c5ea0019d (patch) | |
tree | fe21a48d0dfae11694345a3aaf54072151604ce1 /pkg/api | |
parent | e601101e7d93c6c603947db91144ad02f9f9d54b (diff) | |
parent | ce56202b4525438e2c919e8a56ca49d999387eb7 (diff) | |
download | podman-59dd3418f6ee137aa0c2cf678dc9444c5ea0019d.tar.gz podman-59dd3418f6ee137aa0c2cf678dc9444c5ea0019d.tar.bz2 podman-59dd3418f6ee137aa0c2cf678dc9444c5ea0019d.zip |
Merge pull request #6246 from baude/v2remoterun
v2 podman remote attach, start, and run
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/handlers/compat/containers_start.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/api/handlers/compat/containers_start.go b/pkg/api/handlers/compat/containers_start.go index 67bd287ab..9cb1492fb 100644 --- a/pkg/api/handlers/compat/containers_start.go +++ b/pkg/api/handlers/compat/containers_start.go @@ -3,11 +3,12 @@ package compat import ( "net/http" + "github.com/sirupsen/logrus" + "github.com/containers/libpod/libpod" "github.com/containers/libpod/libpod/define" "github.com/containers/libpod/pkg/api/handlers/utils" "github.com/gorilla/schema" - "github.com/pkg/errors" ) func StartContainer(w http.ResponseWriter, r *http.Request) { @@ -23,8 +24,7 @@ func StartContainer(w http.ResponseWriter, r *http.Request) { } if len(query.DetachKeys) > 0 { // TODO - start does not support adding detach keys - utils.BadRequest(w, "detachKeys", query.DetachKeys, errors.New("the detachKeys parameter is not supported yet")) - return + logrus.Info("the detach keys parameter is not supported on start container") } runtime := r.Context().Value("runtime").(*libpod.Runtime) name := utils.GetName(r) |