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