summaryrefslogtreecommitdiffstats
path: root/deploy/deploy.py
diff options
context:
space:
mode:
authorPeter Barabas <peter.barabas@ericsson.com>2016-03-07 15:32:04 +0100
committerJonas Bjurel <jonas.bjurel@ericsson.com>2016-04-09 17:54:07 +0000
commit72caaad69bbe09dfdbba1b7be230aa07db066e82 (patch)
tree8f658b35bb75cd2d021bf19e682aafca541bb24a /deploy/deploy.py
parent0dc771a9584fe1998236c8941189b1afc3c3c066 (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> (cherry picked from commit 50862693f7c1119c941bc344c90d91cdd37dde38)
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 bf0b39d42..245e6c092 100755
--- a/deploy/deploy.py
+++ b/deploy/deploy.py
@@ -223,7 +223,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()
@@ -234,7 +235,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: