perf: change secrett 提示 (#9686)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-02-22 15:15:00 +08:00
committed by GitHub
parent 156ad665c3
commit 89c4635162
2 changed files with 4 additions and 3 deletions

View File

@@ -59,7 +59,6 @@ class PushAccountManager(ChangeSecretManager, AccountBasePlaybookManager):
accounts = asset.accounts.all()
accounts = self.get_accounts(account, accounts)
inventory_hosts = []
host['secret_type'] = self.secret_type
if asset.type == HostTypes.WINDOWS and self.secret_type == SecretType.SSH_KEY: