Skip to content

Commit

Permalink
feat: 修复index文件刷新报401 #2911
Browse files Browse the repository at this point in the history
  • Loading branch information
zacYL committed Jan 9, 2025
1 parent cec31c0 commit 6765e53
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ class HelmLocalRepository(
val projectId = repositoryDetail.projectId
val repoName = repositoryDetail.name
val fullPath = getStringAttribute(FULL_PATH).orEmpty()
helmOperationService.checkNodePermission(fullPath)
if (fullPath != HelmUtils.getIndexCacheYamlFullPath()) {
helmOperationService.checkNodePermission(fullPath)
}
val isExist = nodeService.checkExist(ArtifactInfo(projectId, repoName, fullPath))
val isOverwrite = isOverwrite(fullPath, isForce)
putAttribute(OVERWRITE, isOverwrite)
Expand Down

0 comments on commit 6765e53

Please sign in to comment.