From 4d51574f5c96d75b552fec240c377a806f18247d Mon Sep 17 00:00:00 2001 From: liangxiaolei5 Date: Wed, 31 Jan 2024 09:51:39 +0800 Subject: [PATCH] fix: import package fix Signed-off-by: liangxiaolei5 --- pkg/chartmuseum/server/multitenant/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chartmuseum/server/multitenant/index.go b/pkg/chartmuseum/server/multitenant/index.go index fe3dba6e..f89777d8 100644 --- a/pkg/chartmuseum/server/multitenant/index.go +++ b/pkg/chartmuseum/server/multitenant/index.go @@ -51,7 +51,7 @@ func (server *MultiTenantServer) getIndexFile(log cm_logger.LoggingFn, repo stri if len(entry.RepoIndex.Entries) != 0 || server.CacheInterval != 0 { allObjects, err := server.fetchChartsInStorage(log, repo) if err != nil || allChartsCount != len(allObjects) { - entry.RepoIndex.Entries = map[string]repo.ChartVersions{} + entry.RepoIndex.Entries = map[string]cm_repo.ChartVersions{} server.CacheInterval = 0 } }