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