From ee17ba0fc03f273506cc29eba464fdaf4edfc5cd Mon Sep 17 00:00:00 2001 From: Alessio Caiazza Date: Wed, 27 Oct 2021 16:56:36 +0200 Subject: [PATCH] Fix imports when building on macos (#2180) Signed-off-by: Alessio Caiazza --- collector/thermal_darwin.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/collector/thermal_darwin.go b/collector/thermal_darwin.go index da6048e9..282ca3f3 100644 --- a/collector/thermal_darwin.go +++ b/collector/thermal_darwin.go @@ -11,6 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build !notherm // +build !notherm package collector @@ -46,7 +47,7 @@ import "C" import ( "errors" "fmt" - "github.com/go-kit/kit/log" + "github.com/go-kit/log" "github.com/prometheus/client_golang/prometheus" "unsafe" )