summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oc_user.py
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lib_openshift/library/oc_user.py')
-rw-r--r--roles/lib_openshift/library/oc_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_openshift/library/oc_user.py b/roles/lib_openshift/library/oc_user.py
index e430546ee..7bbe38819 100644
--- a/roles/lib_openshift/library/oc_user.py
+++ b/roles/lib_openshift/library/oc_user.py
@@ -1447,7 +1447,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: