Signed-off-by: CI <ci@argoproj.com>
(cherry picked from commit 32a41fcfac)
pull/11549/head
CI 3 years ago committed by Matt Farina
parent f6830f7b0a
commit 959acd8a1d

@ -157,7 +157,7 @@ func TestIndexCustomSchemeDownload(t *testing.T) {
} }
defer os.Remove(tempIndexFile.Name()) defer os.Remove(tempIndexFile.Name())
idx, err := repo.DownloadIndexFile() idx, _, err := repo.DownloadIndexFile()
if err != nil { if err != nil {
t.Fatalf("Failed to download index file to %s: %v", idx, err) t.Fatalf("Failed to download index file to %s: %v", idx, err)
} }

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

Loading…
Cancel
Save