Skip to content

Commit

Permalink
Fixing linting error.
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Sirchia <[email protected]>
  • Loading branch information
robertsirc committed Jul 25, 2024
1 parent 6e136b5 commit d7883e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/mapkubeapis/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func newMapCmd(out io.Writer, args []string) *cobra.Command {
}

flags := cmd.PersistentFlags()
flags.ParseErrorsWhitelist.UnknownFlags = true
flags.Parse(args)

Check failure on line 65 in cmd/mapkubeapis/map.go

View workflow job for this annotation

GitHub Actions / golangci-lint

Error return value of `flags.Parse` is not checked (errcheck)
settings = new(EnvSettings)

Expand Down

0 comments on commit d7883e3

Please sign in to comment.