mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Merge pull request #4943 from ryanpetrello/fix-4861
fix a typo that results in a NameError
This commit is contained in:
commit
188e423bd7
@ -390,7 +390,7 @@ class BaseDictWithChildField(fields.DictField):
|
||||
child_field = self.child_fields.get(k, None)
|
||||
if child_field:
|
||||
value[k] = child_field.to_representation(v)
|
||||
elif allow_unknown_keys:
|
||||
elif self.allow_unknown_keys:
|
||||
value[k] = v
|
||||
return value
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user