mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-18 16:39:28 +00:00
[Bugfix] 修复task 列表、
This commit is contained in:
@@ -182,6 +182,7 @@ class AdHoc(OrgModelMixin):
|
||||
id=hid, adhoc=self, task=self.task,
|
||||
task_display=str(self.task),
|
||||
date_start=timezone.now(),
|
||||
hosts_amount=self.hosts.count(),
|
||||
)
|
||||
execution.save()
|
||||
return execution.start()
|
||||
|
Reference in New Issue
Block a user