Skip to content

Commit

Permalink
chore: enable gosimple linter (#68)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
  • Loading branch information
bavarianbidi authored Jan 16, 2024
1 parent d091d67 commit 56a4021
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ linters:
- godox
- govet
- gosec
- gosimple
- importas
- ineffassign
- loggercheck
Expand Down
2 changes: 1 addition & 1 deletion internal/controller/runner_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 56a4021

Please sign in to comment.