Fix format of error message in orquesta runner
Errors should be a list of dict. On general exception in the orquesta runner, fix the formatting of the error entry.
@@ -84,7 +84,7 @@ class OrquestaRunner(runners.AsyncActionRunner):
return (status, result, self.context)
except Exception as e:
status = ac_const.LIVEACTION_STATUS_FAILED
- result = {'errors': str(e), 'output': None}
+ result = {'errors': [{'message': str(e)}], 'output': None}
return (status, result, self.context)
# Set return values.
