Skip to content

Commit

Permalink
add exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
chimanjain committed May 2, 2024
1 parent 38727bf commit dcb0d26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ issues:
max-issues-per-linter: 0
max-same-issues: 0
new: false
exclude:
- "parameter 'clusterConfigData' seems to be unused, consider removing or renaming it as _"

output:
print-linter-name: true
Expand Down
1 change: 0 additions & 1 deletion controllers/acc_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ func (r *ApexConnectivityClientReconciler) ClientContentWatch() error {
_, err = podsInformer.AddEventHandler(cache.ResourceEventHandlerFuncs{
UpdateFunc: r.handlePodsUpdate,
})

if err != nil {
return fmt.Errorf("ClientContentWatch failed adding event handler to podsInformer: %v", err)
}
Expand Down

0 comments on commit dcb0d26

Please sign in to comment.