Skip to content

Commit

Permalink
charts.go
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasSUSE committed Aug 7, 2024
1 parent 7fb4b0b commit b767cf8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions release/charts/charts.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"strings"

"github.com/go-git/go-git/v5"
"github.com/google/go-github/v39/github"
"github.com/rancher/ecm-distro-tools/cmd/release/config"
)

Expand All @@ -31,7 +30,7 @@ func List(ctx context.Context, c *config.ChartsRelease, branch, chart string) (s
}

// Update will pull the target chart version to the local branch and create a PR to release the chart
func Update(ctx context.Context, gh *github.Client, c *config.ChartsRelease, br, ch, vr string) (string, error) {
func Update(ctx context.Context, c *config.ChartsRelease, br, ch, vr string) (string, error) {
var branchArg, chartArg, versionArg, forkArg string

branchArg = "--branch-version=" + br
Expand Down

0 comments on commit b767cf8

Please sign in to comment.