summaryrefslogtreecommitdiffstats
path: root/sdnvpn/lib/utils.py
diff options
context:
space:
mode:
authorTim Irnich <tim.irnich@ericsson.com>2017-10-18 16:28:28 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-18 16:28:28 +0000
commitcd6a598f8e0c18820783d0b0e9d3135fa833d826 (patch)
tree77babe72f4be44ab6f17fc7c2fc6c9f2cfa023b0 /sdnvpn/lib/utils.py
parent66f4fcfc64ed884b5adb2e78447b44ec0639fc6c (diff)
parent308dc9989bce115b615fa13ff1dc44080e3a731e (diff)
Merge "Gather logs only if fuel or apex installer"
Diffstat (limited to 'sdnvpn/lib/utils.py')
-rw-r--r--sdnvpn/lib/utils.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sdnvpn/lib/utils.py b/sdnvpn/lib/utils.py
index ad0714e..d968010 100644
--- a/sdnvpn/lib/utils.py
+++ b/sdnvpn/lib/utils.py
@@ -213,7 +213,9 @@ def get_installerHandler():
installer_ip = get_installer_ip()
if installer_type not in ["fuel", "apex"]:
- raise ValueError("%s is not supported" % installer_type)
+ logger.warn("installer type %s is neither fuel nor apex."
+ "returning None for installer handler" % installer_type)
+ return None
else:
if installer_type in ["apex"]:
developHandler = DeploymentFactory.get_handler(