fix g.Log()的使用

This commit is contained in:
maxbad
2023-05-07 22:35:29 +08:00
parent e8a0a41cb4
commit 67a0a38fd4
10 changed files with 16 additions and 16 deletions

View File

@@ -174,7 +174,7 @@ func GetPublicIP(ctx context.Context) (ip string, err error) {
}
if data == nil {
g.Log().Infof(ctx, "publicIP address Parsing failure, check the network and firewall blocking.")
g.Log().Info(ctx, "publicIP address Parsing failure, check the network and firewall blocking.")
return "0.0.0.0", nil
}
return data.Ip, nil