mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +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':
|
if webapps[name]['mode'] != 'running':
|
||||||
ret['changes']['start'] = 'starting {0}'.format(name, version)
|
ret['changes']['start'] = 'starting {0}'.format(name, version)
|
||||||
status = False
|
status = False
|
||||||
|
else:
|
||||||
|
return ret
|
||||||
except Exception:
|
except Exception:
|
||||||
deploy = True
|
deploy = True
|
||||||
ret['changes']['deploy'] = 'deployed {0} in version {1}'.format(name, version)
|
ret['changes']['deploy'] = 'deployed {0} in version {1}'.format(name, version)
|
||||||
|
Loading…
Reference in New Issue
Block a user