mirror of https://github.com/containers/podman.git
Fix lint
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
parent
50ed292aee
commit
79ad6bb53d
|
|
@ -170,7 +170,7 @@ func ExecStartHandler(w http.ResponseWriter, r *http.Request) {
|
|||
errors.Wrapf(err, "failed to decode parameters for %s", r.URL.String()))
|
||||
return
|
||||
}
|
||||
if bodyParams.Detach == true {
|
||||
if bodyParams.Detach {
|
||||
utils.Error(w, http.StatusText(http.StatusBadRequest), http.StatusBadRequest,
|
||||
errors.Errorf("Detached exec is not yet supported"))
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue