mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Check extra data to make sure it's not just an empty string
This commit is contained in:
parent
cc6d673e4f
commit
c35f892e9e
@ -445,6 +445,8 @@ class Job(UnifiedJob, JobOptions):
|
||||
return dependencies
|
||||
|
||||
def handle_extra_data(self, extra_data):
|
||||
if extra_data == "":
|
||||
return
|
||||
evars = json.loads(self.extra_vars)
|
||||
evars.update(extra_data)
|
||||
self.update_fields(extra_vars=json.dumps(evars))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user