mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 12:40:24 +03:00
Return detailed msg for notification errors (#5913)
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ func mustSplitHostPort(hostPort string) (host, port string) {
|
||||
func mustGetLocalIP4() (ipList set.StringSet) {
|
||||
ipList = set.NewStringSet()
|
||||
addrs, err := net.InterfaceAddrs()
|
||||
logger.FatalIf(err, "Unable to get IP addresses of this host.")
|
||||
logger.FatalIf(err, "Unable to get IP addresses of this host")
|
||||
|
||||
for _, addr := range addrs {
|
||||
var ip net.IP
|
||||
|
||||
Reference in New Issue
Block a user