From 72caaad69bbe09dfdbba1b7be230aa07db066e82 Mon Sep 17 00:00:00 2001 From: Peter Barabas Date: Mon, 7 Mar 2016 15:32:04 +0100 Subject: Fix deploy.py return code Fixes https://jira.opnfv.org/browse/FUEL-100 Change-Id: Ic2e01372778720cde84d83738d8b2c85b005124a Signed-off-by: Peter Barabas (cherry picked from commit 50862693f7c1119c941bc344c90d91cdd37dde38) --- deploy/deploy.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'deploy') 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: -- cgit 1.2.3-korg