mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 03:01:06 -03:30
remove /api/v1 and deprecated credential fields
This commit is contained in:
@@ -34,7 +34,7 @@ class Command(BaseCommand):
|
||||
scm_update_cache_timeout=0,
|
||||
organization=o)
|
||||
p.save(skip_update=True)
|
||||
ssh_type = CredentialType.from_v1_kind('ssh')
|
||||
ssh_type = CredentialType.objects.filter(namespace='ssh').first()
|
||||
c = Credential.objects.create(credential_type=ssh_type,
|
||||
name='Demo Credential',
|
||||
inputs={
|
||||
|
||||
Reference in New Issue
Block a user