From 32a41fcfac9ca1b4f4997a6660bacba9a01a9d45 Mon Sep 17 00:00:00 2001 From: CI Date: Thu, 21 Jul 2022 12:42:56 -0400 Subject: [PATCH] fix tests Signed-off-by: CI --- pkg/repo/chartrepo_test.go | 2 +- pkg/repo/index_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/repo/chartrepo_test.go b/pkg/repo/chartrepo_test.go index 0f317b2fd..6aa36ba98 100644 --- a/pkg/repo/chartrepo_test.go +++ b/pkg/repo/chartrepo_test.go @@ -156,7 +156,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) } diff --git a/pkg/repo/index_test.go b/pkg/repo/index_test.go index a75a4177a..99508ca81 100644 --- a/pkg/repo/index_test.go +++ b/pkg/repo/index_test.go @@ -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) } @@ -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) }