Merge "Return execution state_info in ExternalResource"

This commit is contained in:
Zuul 2018-11-22 08:58:48 +00:00 committed by Gerrit Code Review
commit 017a40a6ef
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class MistralExternalResource(resource.Resource):
if execution.state in ('ERROR', 'CANCELLED'):
raise exception.ResourceFailure(
exception_or_error=execution.state,
exception_or_error=execution.state_info,
resource=self,
action=action)