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