Skip to content

Commit

Permalink
Skip specific govet violation on operator main.go
Browse files Browse the repository at this point in the history
This commit skips the warning of unbuffered os.Signal channel due to its explicitly wanted use
as per to do graceful shutdown.

Signed-off-by: Daniel Mellado <dmellado@redhat.com>
  • Loading branch information
danielmellado committed May 30, 2023
1 parent 8fb86a2 commit 83029a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ type telemetryConfig struct {
Matches []string `json:"matches"`
}

//nolint:govet
func Main() int {
flagset := flag.CommandLine
klog.InitFlags(flagset)
Expand Down

0 comments on commit 83029a6

Please sign in to comment.