Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #77 from libp2p/fix-staticcheck
Browse files Browse the repository at this point in the history
use log.Warn instead of log.Warning
  • Loading branch information
Stebalien committed Apr 23, 2021
2 parents d897385 + e46578b commit c556172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reuseport.go
Expand Up @@ -23,7 +23,7 @@ func init() {
}
v, exist := os.LookupEnv(deprecatedEnvReuseport)
if exist {
log.Warning("IPFS_REUSEPORT is deprecated, use LIBP2P_TCP_REUSEPORT instead")
log.Warn("IPFS_REUSEPORT is deprecated, use LIBP2P_TCP_REUSEPORT instead")
if v == "false" || v == "f" || v == "0" {
envReuseportVal = false
log.Infof("REUSEPORT disabled (IPFS_REUSEPORT=%s)", v)
Expand Down

0 comments on commit c556172

Please sign in to comment.