From e77cad7492cc0ab79bd9319702e7ebe4b433bc80 Mon Sep 17 00:00:00 2001 From: vapao Date: Thu, 28 Apr 2022 13:17:25 +0800 Subject: [PATCH] =?UTF-8?q?F=20=E4=BF=AE=E5=A4=8D=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E7=9A=84=E5=AE=A1=E6=A0=B8=E6=9C=AA=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8=E8=A7=A6=E5=8F=91=E9=80=9A=E7=9F=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_api/apps/deploy/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spug_api/apps/deploy/helper.py b/spug_api/apps/deploy/helper.py index 2f7a4ea..e060742 100644 --- a/spug_api/apps/deploy/helper.py +++ b/spug_api/apps/deploy/helper.py @@ -188,7 +188,7 @@ class Helper: @classmethod def send_deploy_notify(cls, req, action=None): rst_notify = json.loads(req.deploy.rst_notify) - host_ids = req.host_ids + host_ids = json.loads(req.host_ids) if isinstance(req.host_ids, str) else req.host_ids if rst_notify['mode'] != '0' and rst_notify.get('value'): url = rst_notify['value'] version = req.version