mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
Handle connection failures on webhook/url pings (#8204)
Properly handle connection failures while replaying events Fixes #8194
This commit is contained in:
committed by
Harshavardhana
parent
ff6aabd9c0
commit
8700945cdf
@@ -45,7 +45,7 @@ func isNetworkError(err error) bool {
|
||||
return true
|
||||
}
|
||||
if nerr, ok := err.(*rest.NetworkError); ok {
|
||||
return isNetworkOrHostDown(nerr.Err)
|
||||
return xnet.IsNetworkOrHostDown(nerr.Err)
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user