From 787de9c2a9dcbb22955046dfaf7928493fec8e3f Mon Sep 17 00:00:00 2001 From: vapao Date: Fri, 29 May 2020 11:41:32 +0800 Subject: [PATCH] =?UTF-8?q?F=20=E4=BF=AE=E5=A4=8D=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E5=85=A8=E5=B1=80=E5=8F=98=E9=87=8FSPUG=5FHOST=5FID=E5=92=8CSP?= =?UTF-8?q?UG=5FHOST=5FNAME=E6=9F=90=E4=BA=9B=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?=E6=9C=AA=E6=AD=A3=E7=A1=AE=E8=B5=8B=E5=80=BC=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/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spug_api/apps/deploy/utils.py b/spug_api/apps/deploy/utils.py index bd8cc5c..92bbe40 100644 --- a/spug_api/apps/deploy/utils.py +++ b/spug_api/apps/deploy/utils.py @@ -93,6 +93,7 @@ def _ext1_deploy(req, helper, env): with futures.ThreadPoolExecutor(max_workers=min(10, os.cpu_count() + 5)) as executor: threads = [] for h_id in json.loads(req.host_ids): + env = AttrDict(env.items()) threads.append(executor.submit(_deploy_ext1_host, helper, h_id, extend, env)) for t in futures.as_completed(threads): exception = t.exception()