Skip to content

Commit

Permalink
Corrected variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjkw31 committed Nov 10, 2023
1 parent 3a51201 commit 6df9e52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,9 +543,9 @@ func (b *Builder) addArtifactsToRepo(artifacts map[string]io.Reader, envPath str

defer pw.Close()

uploadUrl := strings.TrimSuffix(b.config.CoreURL, "/") + uploadEndpoint + "?" + url.QueryEscape(envPath)
uploadURL := strings.TrimSuffix(b.config.CoreURL, "/") + uploadEndpoint + "?" + url.QueryEscape(envPath)

req, err := http.NewRequestWithContext(ctx, http.MethodPost, uploadUrl, pr)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, uploadURL, pr)
if err != nil {
return err
}
Expand Down

0 comments on commit 6df9e52

Please sign in to comment.