Skip to content

Commit

Permalink
feat:流水线版本管理机制 TencentBlueKing#8161 优化互斥组互转
Browse files Browse the repository at this point in the history
  • Loading branch information
yongyiduan committed Sep 9, 2024
1 parent 27a01a5 commit 8f39b80
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 8f39b80

Please sign in to comment.