perf: Change secret ssh_key_change_strategy modify the default value

This commit is contained in:
feng
2024-11-20 16:18:10 +08:00
committed by Bryan
parent 9966ad4c71
commit 4068b5c76a
3 changed files with 5 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ class AutomationExecution(AssetAutomationExecution):
class ChangeSecretMixin(SecretWithRandomMixin):
ssh_key_change_strategy = models.CharField(
choices=SSHKeyStrategy.choices, max_length=16,
default=SSHKeyStrategy.add, verbose_name=_('SSH key change strategy')
default=SSHKeyStrategy.set_jms, verbose_name=_('SSH key change strategy')
)
get_all_assets: callable # get all assets