Unverified Commit c556172e authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #77 from libp2p/fix-staticcheck

use log.Warn instead of log.Warning
parents d8973854 e46578bb
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment