mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +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()))
|
||||
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
|
||||
|
Reference in New Issue
Block a user