summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-03-10 09:31:59 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-03-10 09:32:00 +0000
commit8d3ea8d47924e55769bd2b71965de9ba15d34713 (patch)
tree90e6de711f16f17d3e106c8a8590444a39e461de /deploy
parentdb16151c8979fa76a35f4bf684ec64bd4e229a4e (diff)
parent50862693f7c1119c941bc344c90d91cdd37dde38 (diff)
Merge "Fix deploy.py return code"
Diffstat (limited to 'deploy')
-rwxr-xr-xdeploy/deploy.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/deploy/deploy.py b/deploy/deploy.py
index bc1dfdb49..492c7596a 100755
--- a/deploy/deploy.py
+++ b/deploy/deploy.py
@@ -224,7 +224,8 @@ class AutoDeploy(object):
self.install_fuel_master()
if not self.fuel_only:
return self.deploy_env()
- return True
+ # Exit status
+ return 0
def run(self):
check_if_root()
@@ -235,7 +236,8 @@ class AutoDeploy(object):
if self.cleanup:
self.cleanup_execution_environment()
return deploy_success
- return True
+ # Exit status
+ return 0
def check_bridge(pxe_bridge, dha_path):
with io.open(dha_path) as yaml_file: