diff options
author | Brent Baude <bbaude@redhat.com> | 2020-05-15 10:07:14 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2020-05-15 10:09:45 -0500 |
commit | ce56202b4525438e2c919e8a56ca49d999387eb7 (patch) | |
tree | f3ac23a504f6a517b1376a2402557be4991ce734 /pkg/api/handlers/compat | |
parent | d5358e676486bf894eadffd0b55c7e5d6a35867b (diff) | |
download | podman-ce56202b4525438e2c919e8a56ca49d999387eb7.tar.gz podman-ce56202b4525438e2c919e8a56ca49d999387eb7.tar.bz2 podman-ce56202b4525438e2c919e8a56ca49d999387eb7.zip |
v2 podman remote attach, start, and run
for the remote client, add the ability to attach to a container, start a container, and run a container.
Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api/handlers/compat')
-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) |