mirror of https://github.com/jumpserver/jumpserver
fix: 【账号收集】账号收集任务,关闭同步到资产时,只收集了一个资产的账号,其他资产的账号未收集 (#12428)
Co-authored-by: feng <1304903146@qq.com>pull/12431/head
parent
8f67922c80
commit
a09b7b29e2
|
@ -72,7 +72,7 @@ class GatherAccountsManager(AccountBasePlaybookManager):
|
|||
)
|
||||
gathered_accounts.append(gathered_account)
|
||||
if not self.is_sync_account:
|
||||
return
|
||||
continue
|
||||
GatheredAccount.sync_accounts(gathered_accounts)
|
||||
|
||||
def run(self, *args, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue