Skip to content

Commit

Permalink
reverse changes
Browse files Browse the repository at this point in the history
  • Loading branch information
annabarnes1138 committed May 26, 2021
1 parent d1200e5 commit ec42d65
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pkg/releaser/releaser.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,7 @@ func (r *Releaser) UpdateIndexFile() (bool, error) {

var indexFile *repo.IndexFile

indexUrl := fmt.Sprintf("%s/index.yaml", r.config.ChartsRepo)
if r.config.Token != "" {
indexUrl = fmt.Sprintf("%s?token=%s", indexUrl, r.config.Token)
}

fmt.Printf("Retrieving index file from: %s\n", indexUrl)
resp, err := r.httpClient.Get(indexUrl)
resp, err := r.httpClient.Get(fmt.Sprintf("%s/index.yaml", r.config.ChartsRepo))
if err != nil {
return false, err
}
Expand Down

0 comments on commit ec42d65

Please sign in to comment.