Properly display error in jboss7 state

Refs #33187
This commit is contained in:
Mike Place 2017-03-01 09:27:07 -07:00
parent 3f8b5e6733
commit c2df29edb2
No known key found for this signature in database
GPG key ID: 9136F4F13705CFD3

View file

@ -448,9 +448,9 @@ def __get_artifact(salt_source):
log.debug(traceback.format_exc())
comment = 'Unable to manage file: {0}'.format(e)
else:
resolved_source = salt_source['target_file']
comment = ''
else:
resolved_source = salt_source['target_file']
comment = ''
return resolved_source, comment