Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: CI <ci@argoproj.com>
(cherry picked from commit 32a41fc)
  • Loading branch information
CI authored and mattfarina committed Oct 12, 2022
1 parent f6830f7 commit 959acd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/repo/chartrepo_test.go
Expand Up @@ -157,7 +157,7 @@ func TestIndexCustomSchemeDownload(t *testing.T) {
}
defer os.Remove(tempIndexFile.Name())

idx, err := repo.DownloadIndexFile()
idx, _, err := repo.DownloadIndexFile()
if err != nil {
t.Fatalf("Failed to download index file to %s: %v", idx, err)
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/repo/index_test.go
Expand Up @@ -237,7 +237,7 @@ func TestDownloadIndexFile(t *testing.T) {
t.Errorf("Problem creating chart repository from %s: %v", testRepo, err)
}

idx, err := r.DownloadIndexFile()
idx, _, err := r.DownloadIndexFile()
if err != nil {
t.Fatalf("Failed to download index file to %s: %#v", idx, err)
}
Expand Down Expand Up @@ -290,7 +290,7 @@ func TestDownloadIndexFile(t *testing.T) {
t.Errorf("Problem creating chart repository from %s: %v", testRepo, err)
}

idx, err := r.DownloadIndexFile()
idx, _, err := r.DownloadIndexFile()
if err != nil {
t.Fatalf("Failed to download index file to %s: %#v", idx, err)
}
Expand Down

0 comments on commit 959acd8

Please sign in to comment.