golangci-lint: Acknowledge all remaining checks and update golanci-lint to v1.43.0

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
This commit is contained in:
Mario Trangoni
2021-12-24 11:19:05 +01:00
parent df4f6b206b
commit 919f90a571
8 changed files with 17 additions and 15 deletions

View File

@@ -232,7 +232,7 @@ func (c *serviceCollector) collectAPI(ch chan<- prometheus.Metric) error {
if err != nil {
return err
}
defer svcmgrConnection.Disconnect()
defer svcmgrConnection.Disconnect() //nolint:errcheck
// List All Services from the Services Manager
serviceList, err := svcmgrConnection.ListServices()