diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-04 14:16:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-04 14:16:40 +0200 |
commit | 7eca5571dc9d39590bc0127f15257921dea30c55 (patch) | |
tree | 595fa0a440cd0ac50a85aaef8fd3fa45852c91b5 /pkg/api | |
parent | f7440ffaf68a03392daf79c67e45cb59ee1b7112 (diff) | |
parent | ab77487814e6af81fe0d2dfac1a1f1b98c6ef325 (diff) | |
download | podman-7eca5571dc9d39590bc0127f15257921dea30c55.tar.gz podman-7eca5571dc9d39590bc0127f15257921dea30c55.tar.bz2 podman-7eca5571dc9d39590bc0127f15257921dea30c55.zip |
Merge pull request #7204 from baude/issue7197
Missing return after early exit
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/handlers/libpod/containers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/handlers/libpod/containers.go b/pkg/api/handlers/libpod/containers.go index 864775fe4..47ea6c40d 100644 --- a/pkg/api/handlers/libpod/containers.go +++ b/pkg/api/handlers/libpod/containers.go @@ -24,6 +24,7 @@ func ContainerExists(w http.ResponseWriter, r *http.Request) { if err != nil { if errors.Cause(err) == define.ErrNoSuchCtr { utils.ContainerNotFound(w, name, err) + return } utils.InternalServerError(w, err) return |