diff --git a/.golangci.yaml b/.golangci.yaml index 64bf7056..0e2ed555 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -13,6 +13,7 @@ linters: - godox - govet - gosec + - gosimple - importas - ineffassign - loggercheck diff --git a/internal/controller/runner_controller.go b/internal/controller/runner_controller.go index 437be65a..ec7d5de5 100644 --- a/internal/controller/runner_controller.go +++ b/internal/controller/runner_controller.go @@ -212,7 +212,7 @@ func (r *RunnerReconciler) PollRunnerInstances(ctx context.Context, eventChan ch log.Info("Closing event channel for runners...") close(eventChan) return - case _ = <-ticker.C: + case <-ticker.C: log.Info("Polling Runners...") instanceClient := garmClient.NewInstanceClient()