Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Fraenkel committed Apr 19, 2024
1 parent 3b90db6 commit cb3c2b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/controller/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Apply Rules:
- When a definition is missing, it will be created
- If a definition is already present, then it will be updated
- Updating definitions that have not changed results in a no-op`,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, _ []string) error {
return crd.Apply(context.Background())
},
}
Expand All @@ -83,7 +83,7 @@ func newCRDDeleteCommand() *cobra.Command {
Any running builds will be decommissioned when this operation runs. This will
only attempt to remove definitions that are already present in Kubernetes.`,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, _ []string) error {
return crd.Delete(context.Background())
},
}
Expand Down

0 comments on commit cb3c2b9

Please sign in to comment.