From af0716c0e95900a6a442faa509335adecb8267ec Mon Sep 17 00:00:00 2001 From: crayon <873217631@qq.com> Date: Sat, 10 Sep 2022 09:49:37 +0800 Subject: [PATCH] =?UTF-8?q?sprintfix:=20=E4=BF=AE=E5=A4=8D=E6=8A=91?= =?UTF-8?q?=E5=88=B6=E6=96=87=E6=A1=88=E7=BC=BA=E5=A4=B1=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(fixed=20#889)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/backend/subscription/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/backend/subscription/tasks.py b/apps/backend/subscription/tasks.py index ec518948e..525ad1831 100644 --- a/apps/backend/subscription/tasks.py +++ b/apps/backend/subscription/tasks.py @@ -330,6 +330,7 @@ def create_task( "msg": _( "当前{category_alias}({bk_obj_name} 级)" "已被优先级更高的{suppressed_by_category_alias}【{suppressed_by_name}(ID: {suppressed_by_id})】" + "({suppressed_by_obj_name} 级)抑制" ).format( category_alias=models.Subscription.CATEGORY_ALIAS_MAP[result["category"]], bk_obj_name=constants.CmdbObjectId.OBJ_ID_ALIAS_MAP.get(