diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-22 21:04:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 21:04:37 +0000 |
commit | 4c48c71729ba61586852ddc2342b56c6086fb424 (patch) | |
tree | c5c8aed89815f09cf278da542d8686d1ae8b74c8 | |
parent | 2270be1871bbf77ed148a623231d41638975572d (diff) | |
parent | cd65f133d52562b824818ff149cdd058bbf59c09 (diff) | |
download | podman-4c48c71729ba61586852ddc2342b56c6086fb424.tar.gz podman-4c48c71729ba61586852ddc2342b56c6086fb424.tar.bz2 podman-4c48c71729ba61586852ddc2342b56c6086fb424.zip |
Merge pull request #7712 from baude/killreturn
add missing return for compat kill
-rw-r--r-- | pkg/api/handlers/compat/containers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/handlers/compat/containers.go b/pkg/api/handlers/compat/containers.go index b1ef08cda..1c2356b92 100644 --- a/pkg/api/handlers/compat/containers.go +++ b/pkg/api/handlers/compat/containers.go @@ -175,6 +175,7 @@ func KillContainer(w http.ResponseWriter, r *http.Request) { err = con.Kill(signal) if err != nil { utils.Error(w, "Something went wrong.", http.StatusInternalServerError, errors.Wrapf(err, "unable to kill Container %s", name)) + return } // Docker waits for the container to stop if the signal is 0 or |