mirror of https://github.com/openspug/spug
F fix bug
parent
e1b15ab013
commit
bd8e9248dd
|
@ -82,7 +82,7 @@ class RequestView(View):
|
||||||
type='2',
|
type='2',
|
||||||
extra=pre_req.extra,
|
extra=pre_req.extra,
|
||||||
host_ids=req.host_ids,
|
host_ids=req.host_ids,
|
||||||
status='0',
|
status='0' if pre_req.deploy.is_audit else '1',
|
||||||
desc='自动回滚至该应用的上个版本',
|
desc='自动回滚至该应用的上个版本',
|
||||||
version=pre_req.version,
|
version=pre_req.version,
|
||||||
created_by=request.user
|
created_by=request.user
|
||||||
|
|
Loading…
Reference in New Issue