Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes 3
Browse files Browse the repository at this point in the history
nicholasSUSE committed Aug 2, 2024
1 parent f94a604 commit b192b2d
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cmd/release/cmd/list.go
Original file line number Diff line number Diff line change
@@ -45,7 +45,6 @@ var chartsListSubCmd = &cobra.Command{
Use: "charts [branch] [charts](optional)",
Short: "List Charts assets versions state for release process",
RunE: func(cmd *cobra.Command, args []string) error {

var branch, chart string

if len(args) < 1 {
4 changes: 2 additions & 2 deletions release/charts/charts.go
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ func List(ctx context.Context, c *config.ChartsRelease, branch, chart string) (s
chartArg = "--chart=" + chart
}

output, err := runChartsBuildScripts(c.Workspace, "lifecycle-status", branchArg, chartArg)
output, err := runChartsBuild(c.Workspace, "lifecycle-status", branchArg, chartArg)
if err != nil {
return "", err
}
@@ -28,7 +28,7 @@ func List(ctx context.Context, c *config.ChartsRelease, branch, chart string) (s
return response, nil
}

func runChartsBuildScripts(chartsRepoPath string, args ...string) ([]byte, error) {
func runChartsBuild(chartsRepoPath string, args ...string) ([]byte, error) {
// save current working dir
ecmWorkDir, err := os.Getwd()
if err != nil {

0 comments on commit b192b2d

Please sign in to comment.