From dd22d0af7f4316d73f79fbab8bf8cf0d4c1f846f Mon Sep 17 00:00:00 2001 From: Gereon Vey Date: Tue, 3 Aug 2021 18:27:45 +0200 Subject: [PATCH] fix conversion of config.Timeout to string --- collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector.go b/collector.go index d3ba0a6..f83ec47 100644 --- a/collector.go +++ b/collector.go @@ -265,7 +265,7 @@ func ipmitoolConfig(config IPMIConfig) []string { args = append(args, "-P", config.Password) } if config.Timeout != 0 { - args = append(args, "-N", strconv.FormatInt(config.Timeout, 36)) + args = append(args, "-N", strconv.FormatInt(config.Timeout, 10)) } return args }