Skip to content

Commit

Permalink
fix: import package fix
Browse files Browse the repository at this point in the history
Signed-off-by: liangxiaolei5 <liangxiaolei@jd.com>
  • Loading branch information
liangxiaolei5 committed Jan 31, 2024
1 parent 6c12482 commit 4d51574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chartmuseum/server/multitenant/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}

Check failure on line 54 in pkg/chartmuseum/server/multitenant/index.go

View workflow job for this annotation

GitHub Actions / build

undefined: cm_repo.ChartVersions
server.CacheInterval = 0
}
}
Expand Down

0 comments on commit 4d51574

Please sign in to comment.