Skip to content

Commit

Permalink
Properly display error in jboss7 state
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Place committed Mar 1, 2017
1 parent 3f8b5e6 commit c2df29e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions salt/states/jboss7.py
Expand Up @@ -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

Expand Down

0 comments on commit c2df29e

Please sign in to comment.