diff --git a/src/backend/turbo/biz-turbo/src/main/kotlin/com/tencent/devops/turbo/service/TurboPlanService.kt b/src/backend/turbo/biz-turbo/src/main/kotlin/com/tencent/devops/turbo/service/TurboPlanService.kt index ce18bd52..7cd0bfa3 100644 --- a/src/backend/turbo/biz-turbo/src/main/kotlin/com/tencent/devops/turbo/service/TurboPlanService.kt +++ b/src/backend/turbo/biz-turbo/src/main/kotlin/com/tencent/devops/turbo/service/TurboPlanService.kt @@ -364,6 +364,8 @@ class TurboPlanService @Autowired constructor( /** * 同步加速方案信息至后端编译加速服务 + * + * @param openStatus true:停用; false:启用 */ private fun updateTbsProjectInfo( user: String, @@ -689,7 +691,7 @@ class TurboPlanService @Autowired constructor( user = userId, engineCode = it.engineCode, planId = it.id!!, - openStatus = enabled, + openStatus = !enabled, planName = null ) } catch (e: TurboException) {