mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
fix return if no changes should take place in tomcat.war_deployed
This commit is contained in:
parent
ecb18e2260
commit
95ead0da96
@ -98,6 +98,8 @@ def war_deployed(name, war, url='http://localhost:8080/manager', __env__='base',
|
||||
if webapps[name]['mode'] != 'running':
|
||||
ret['changes']['start'] = 'starting {0}'.format(name, version)
|
||||
status = False
|
||||
else:
|
||||
return ret
|
||||
except Exception:
|
||||
deploy = True
|
||||
ret['changes']['deploy'] = 'deployed {0} in version {1}'.format(name, version)
|
||||
|
Loading…
Reference in New Issue
Block a user