Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#10931 from yongyiduan/pac_20240909…
Browse files Browse the repository at this point in the history
…1930

feat:流水线版本管理机制 TencentBlueKing#8161 优化互斥组互转
  • Loading branch information
mingshewhe authored Sep 11, 2024
2 parents e0a9062 + 8f39b80 commit e9fc322
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,11 @@ class ContainerTransfer @Autowired(required = false) constructor(
}

private fun getMutexYaml(resource: MutexGroup?): Mutex? {
if (resource?.mutexGroupName.isNullOrBlank()) {
if (resource?.mutexGroupName.isNullOrBlank() || resource?.enable != true) {
return null
}
return Mutex(
label = resource?.mutexGroupName!!,
label = resource.mutexGroupName!!,
queueLength = if (resource.queueEnable) {
resource.queue
} else {
Expand Down

0 comments on commit e9fc322

Please sign in to comment.