mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 06:56:00 -03:30
Check extra data to make sure it's not just an empty string
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user