fix: push ssh key account bug (#9948)

Co-authored-by: feng <1304903146@qq.com>
pull/9966/head
fit2bot 2 years ago committed by GitHub
parent bff97929b5
commit 2ce293bd81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,7 +45,7 @@ class PushAccountManager(ChangeSecretManager, AccountBasePlaybookManager):
}
private_key_path = None
if self.secret_type == SecretType.SSH_KEY:
if secret_type == SecretType.SSH_KEY:
private_key_path = self.generate_private_key_path(new_secret, path_dir)
new_secret = self.generate_public_key(new_secret)

Loading…
Cancel
Save