Signed-off-by: CI <ci@argoproj.com>
pull/11172/head
CI 3 years ago
parent 24fa3d910d
commit 32a41fcfac

@ -156,7 +156,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