From c14191c5f2158044b85cb39505c37ff82ebb5682 Mon Sep 17 00:00:00 2001 From: RJ Date: Tue, 9 Jul 2024 16:37:53 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90Enhancement=E3=80=91=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E5=8A=A0=E9=80=9F=E5=88=B7=E5=AD=98=E9=87=8F=E5=B7=B2=E5=81=9C?= =?UTF-8?q?=E7=94=A8=E9=A1=B9=E7=9B=AE=E7=9A=84=E5=8A=A0=E9=80=9F=E6=96=B9?= =?UTF-8?q?=E6=A1=88=E4=B8=BA=E5=81=9C=E7=94=A8=20#260?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tencent/devops/turbo/service/TurboPlanService.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) {