Skip to content

Commit

Permalink
fix: 修复扫描执行服务拉取镜像失败 #2766
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlkl committed Nov 19, 2024
1 parent e3f16f6 commit 88794ae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ object DockerUtils {
) {
val images = listImagesCmd().exec()
val exists = images?.any { image ->
image.repoTags.any { it == tag }
}
if (exists == true) {
image.repoTags?.any { it == tag } ?: false
} ?: false
if (exists) {
return
}
logger.info("pulling image: $tag")
Expand Down

0 comments on commit 88794ae

Please sign in to comment.