summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-03-03 10:46:55 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-03-06 09:09:14 -0500
commitc08768c051ae86a1c62feb878848acf0c653b82b (patch)
tree201fe6f77930e668f81a0e570515ac7a2a8e7557 /roles/lib_openshift/library
parentee3609784e12a8961c8167d6326427f5808a9263 (diff)
downloadopenshift-c08768c051ae86a1c62feb878848acf0c653b82b.tar.gz
openshift-c08768c051ae86a1c62feb878848acf0c653b82b.tar.bz2
openshift-c08768c051ae86a1c62feb878848acf0c653b82b.tar.xz
openshift-c08768c051ae86a1c62feb878848acf0c653b82b.zip
Fixed the none namespace. Fixed tests with latest loc_oc_binary call.
Diffstat (limited to 'roles/lib_openshift/library')
-rw-r--r--roles/lib_openshift/library/oc_project.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/lib_openshift/library/oc_project.py b/roles/lib_openshift/library/oc_project.py
index 79b6ab380..812c67de5 100644
--- a/roles/lib_openshift/library/oc_project.py
+++ b/roles/lib_openshift/library/oc_project.py
@@ -1519,7 +1519,7 @@ class OCProject(OpenShiftCLI):
else:
self.project.update_annotation('node-selector', self.project.find_annotation('node-selector'))
- return self._replace_content(self.kind, self.config.namespace, self.project.yaml_dict)
+ return self._replace_content(self.kind, self.config.name, self.project.yaml_dict)
def needs_update(self):
''' verify an update is needed '''
@@ -1547,7 +1547,7 @@ class OCProject(OpenShiftCLI):
_ns = ','.join(params['node_selector'])
pconfig = ProjectConfig(params['name'],
- None,
+ 'None',
params['kubeconfig'],
{'admin': {'value': params['admin'], 'include': True},
'admin_role': {'value': params['admin_role'], 'include': True},