From 45840948f5ba73d84853051a6bc61985d7543e58 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Mon, 26 Apr 2021 16:41:50 +0300 Subject: [PATCH] Pull request #1136: dnsforward: lower log level of non-crit err Updates #3008. Squashed commit of the following: commit d02f9befef8db1f1e7f21fb98b59b47c0c275887 Author: Ainar Garipov Date: Mon Apr 26 16:30:44 2021 +0300 dnsforward: lower log level of non-crit err --- internal/dnsforward/dnsforward.go | 2 +- scripts/make/go-lint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/dnsforward/dnsforward.go b/internal/dnsforward/dnsforward.go index ff6eaa27..6d8f8a27 100644 --- a/internal/dnsforward/dnsforward.go +++ b/internal/dnsforward/dnsforward.go @@ -427,7 +427,7 @@ func (s *Server) Prepare(config *ServerConfig) error { // // TODO(a.garipov): The Snap problem can probably be solved if // we add the netlink-connector interface plug. - log.Error("cannot initialize ipset: %s", err) + log.Info("warning: cannot initialize ipset: %s", err) } // Prepare DNS servers settings diff --git a/scripts/make/go-lint.sh b/scripts/make/go-lint.sh index 1846d0da..cce7c002 100644 --- a/scripts/make/go-lint.sh +++ b/scripts/make/go-lint.sh @@ -54,7 +54,7 @@ trap not_found EXIT readonly go_min_version='go1.15' readonly go_min_version_prefix="go version ${go_min_version}" readonly go_version_msg=" -warning: your go version different from the recommended minimal one (${go_min_version}). +warning: your go version is different from the recommended minimal one (${go_min_version}). if you have the version installed, please set the GO environment variable. for example: