Keep the 'machine' credential name for user/password & key credentials.

This commit is contained in:
Bill Nottingham
2017-07-21 10:24:34 -04:00
parent f3ba635ba2
commit 369c0f19ec
2 changed files with 3 additions and 3 deletions

View File

@@ -401,7 +401,7 @@ class CredentialType(CommonModelNameNotUnique):
unique_together = (('name', 'kind'),)
KIND_CHOICES = (
('ssh', _('SSH')),
('ssh', _('Machine')),
('vault', _('Vault')),
('net', _('Network')),
('scm', _('Source Control')),
@@ -588,7 +588,7 @@ class CredentialType(CommonModelNameNotUnique):
def ssh(cls):
return cls(
kind='ssh',
name='SSH',
name='Machine',
managed_by_tower=True,
inputs={
'fields': [{