mirror of
https://github.com/ansible/awx.git
synced 2026-09-03 02:18:28 -02:30
Add backwards compatibility for injecting single file
This commit is contained in:
@@ -696,7 +696,7 @@ class CredentialTypeInjectorField(JSONSchemaField):
|
||||
'file': {
|
||||
'type': 'object',
|
||||
'patternProperties': {
|
||||
'^template\.[a-zA-Z_]+$': {'type': 'string'},
|
||||
'^template(\.[a-zA-Z_]+)?$': {'type': 'string'},
|
||||
},
|
||||
'additionalProperties': False,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user