Skip to content

Commit

Permalink
fix: solve lint error
Browse files Browse the repository at this point in the history
Signed-off-by: KangManJoo <[email protected]>
  • Loading branch information
eogns47 committed Sep 26, 2024
1 parent 25622c6 commit 77c012f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/helm/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,8 @@ func (c *Cmd) template(chartPath string, opts *TemplateOpts) (string, string, er
args = append(args, "--include-crds")
}

var apiVersionsRemover = regexp.MustCompile(`(--api-versions [^ ]+ )+`)
apiVersionsRemover := regexp.MustCompile(`(--api-versions [^ ]+ )+`)

out, command, err := c.run(args...)
if err != nil {
msg := err.Error()
Expand Down

0 comments on commit 77c012f

Please sign in to comment.