mirror of
https://github.com/containers/podman.git
synced 2025-10-30 09:25:59 +08:00
update golangci-lint to v1.59.1
Includes fixes for new lint warnings from unparam and usestdlibvars. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -269,7 +269,7 @@ func WaitAndPingAPI(sock string) {
|
||||
if err == nil {
|
||||
defer resp.Body.Close()
|
||||
}
|
||||
if err != nil || resp.StatusCode != 200 {
|
||||
if err != nil || resp.StatusCode != http.StatusOK {
|
||||
logrus.Warn("API socket failed ping test")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user