Skip to content

Commit

Permalink
fix missing struct field
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelbreno committed Oct 3, 2024
1 parent 2e8c050 commit 572f39b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/release/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ type DashboardRelease struct {
UIPreviousTag string `json:"ui_previous_tag" validate:"required"`
Tag string
RancherReleaseBranch string `json:"rancher_release_branch" validate:"required"`
DryRun bool `json:"dry_run"`
RancherUpstreamURL string
DryRun bool `json:"dry_run"`
}

// RKE2
Expand Down
2 changes: 2 additions & 0 deletions release/rancher/rancher.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ func GeneratePrimeArtifactsIndex(ctx context.Context, path string, ignoreVersion
}

func UpdateDashboardReferences(ctx context.Context, cfg *config.Dashboard, ghClient *github.Client, r *config.DashboardRelease, u *config.User) error {
r.RancherUpstreamURL = cfg.RancherUpstreamURL

if err := updateDashboardReferencesAndPush(r, u); err != nil {
return err
}
Expand Down

0 comments on commit 572f39b

Please sign in to comment.