Skip to content

Commit

Permalink
fixing linting errors
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Sirchia <[email protected]>
  • Loading branch information
robertsirc committed Sep 4, 2024
1 parent fa73851 commit dad8d49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/mapkubeapis/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var (
settings *EnvSettings
)

func newMapCmd(_ io.Writer, args []string) *cobra.Command {
func newMapCmd(_ io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "mapkubeapis [flags] RELEASE",
Short: "Map release deprecated or removed Kubernetes APIs in-place",
Expand Down
2 changes: 1 addition & 1 deletion cmd/mapkubeapis/map_kube_apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
)

func main() {
mapCmd := newMapCmd(os.Stdout, os.Args[1:])
mapCmd := newMapCmd(os.Stdout)

if err := mapCmd.Execute(); err != nil {
os.Exit(1)
Expand Down

0 comments on commit dad8d49

Please sign in to comment.