From bd8e9248ddc77d70337a16fb1a85dbcee7c306b8 Mon Sep 17 00:00:00 2001 From: vapao Date: Wed, 8 Jan 2020 20:31:35 +0800 Subject: [PATCH] F fix bug --- spug_api/apps/deploy/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spug_api/apps/deploy/views.py b/spug_api/apps/deploy/views.py index dc86c2d..677e3bf 100644 --- a/spug_api/apps/deploy/views.py +++ b/spug_api/apps/deploy/views.py @@ -82,7 +82,7 @@ class RequestView(View): type='2', extra=pre_req.extra, host_ids=req.host_ids, - status='0', + status='0' if pre_req.deploy.is_audit else '1', desc='自动回滚至该应用的上个版本', version=pre_req.version, created_by=request.user