aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/deploy.py
diff options
context:
space:
mode:
authorPeter Barabas <peter.barabas@ericsson.com>2016-03-07 15:32:04 +0100
committerPeter Barabas <peter.barabas@ericsson.com>2016-03-07 15:35:39 +0100
commit50862693f7c1119c941bc344c90d91cdd37dde38 (patch)
tree3f4ee2b07515793f09f52b2a286fb82f6b07d591 /deploy/deploy.py
parentaac8573f454109c98fa2af1e5ed05c1d1b19829b (diff)
Fix deploy.py return code
Fixes https://jira.opnfv.org/browse/FUEL-100 Change-Id: Ic2e01372778720cde84d83738d8b2c85b005124a Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
Diffstat (limited to 'deploy/deploy.py')
-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: