Skip to content

Commit

Permalink
Merge pull request #7204 from baude/issue7197
Browse files Browse the repository at this point in the history
Missing return after early exit
  • Loading branch information
openshift-merge-robot authored Aug 4, 2020
2 parents f7440ff + ab77487 commit 7eca557
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/api/handlers/libpod/containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7eca557

Please sign in to comment.