From e46578bbb659847dcabd226ea029a7025ad590b7 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Fri, 23 Apr 2021 10:49:32 +0700 Subject: [PATCH] use log.Warn instead of log.Warning --- reuseport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reuseport.go b/reuseport.go index e3b7e12..83e13f6 100644 --- a/reuseport.go +++ b/reuseport.go @@ -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)