Skip to content

Commit

Permalink
fix running updater even though fetcher failed
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecoffman committed Oct 28, 2022
1 parent ce9e558 commit a9100bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/infra/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ func (u *Updater) InstallCertificates(ctx context.Context) error {

func userEnv(proxyURL string, apiPort int) []string {
return []string{
"GITHUB_ACTIONS=true", // sets exit code when fetch fails
fmt.Sprintf("http_proxy=%s", proxyURL),
fmt.Sprintf("HTTP_PROXY=%s", proxyURL),
fmt.Sprintf("https_proxy=%s", proxyURL),
Expand Down

0 comments on commit a9100bd

Please sign in to comment.