From 2d48094b2a731519a00794822c17a313e4d45d42 Mon Sep 17 00:00:00 2001 From: "Jose A. Rivera" Date: Fri, 29 Sep 2017 17:40:00 -0500 Subject: lib/base: Allow for empty option value Signed-off-by: Jose A. Rivera --- roles/lib_openshift/src/lib/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/lib_openshift/src') diff --git a/roles/lib_openshift/src/lib/base.py b/roles/lib_openshift/src/lib/base.py index 5a307cdb3..1fb32164e 100644 --- a/roles/lib_openshift/src/lib/base.py +++ b/roles/lib_openshift/src/lib/base.py @@ -597,7 +597,7 @@ class OpenShiftCLIConfig(object): for key in sorted(self.config_options.keys()): data = self.config_options[key] if data['include'] \ - and (data['value'] or isinstance(data['value'], int)): + and (data['value'] is not None or isinstance(data['value'], int)): if key == ascommalist: val = ','.join(['{}={}'.format(kk, vv) for kk, vv in sorted(data['value'].items())]) else: -- cgit v1.2.3