diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-03-16 14:52:50 +0100 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-03-21 10:43:38 +0100 |
commit | a5202573a27587233886d62db113cc3cab0a74fa (patch) | |
tree | f33672b043cf86988c4805a7a997308f038ed0c0 /roles/lib_openshift/src | |
parent | 8f9adf4a895b1f33a8c9ae734483c428c10e8b15 (diff) | |
download | openshift-a5202573a27587233886d62db113cc3cab0a74fa.tar.gz openshift-a5202573a27587233886d62db113cc3cab0a74fa.tar.bz2 openshift-a5202573a27587233886d62db113cc3cab0a74fa.tar.xz openshift-a5202573a27587233886d62db113cc3cab0a74fa.zip |
Reindent code
Diffstat (limited to 'roles/lib_openshift/src')
-rw-r--r-- | roles/lib_openshift/src/class/oc_project.py | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/roles/lib_openshift/src/class/oc_project.py b/roles/lib_openshift/src/class/oc_project.py index 5f02957b7..4dd231198 100644 --- a/roles/lib_openshift/src/class/oc_project.py +++ b/roles/lib_openshift/src/class/oc_project.py @@ -101,15 +101,18 @@ class OCProject(OpenShiftCLI): if params['node_selector'] is not None: _ns = ','.join(params['node_selector']) - pconfig = ProjectConfig(params['name'], - 'None', - params['kubeconfig'], - {'admin': {'value': params['admin'], 'include': True}, - 'admin_role': {'value': params['admin_role'], 'include': True}, - 'description': {'value': params['description'], 'include': True}, - 'display_name': {'value': params['display_name'], 'include': True}, - 'node_selector': {'value': _ns, 'include': True}, - }) + pconfig = ProjectConfig( + params['name'], + 'None', + params['kubeconfig'], + { + 'admin': {'value': params['admin'], 'include': True}, + 'admin_role': {'value': params['admin_role'], 'include': True}, + 'description': {'value': params['description'], 'include': True}, + 'display_name': {'value': params['display_name'], 'include': True}, + 'node_selector': {'value': _ns, 'include': True}, + }, + ) oadm_project = OCProject(pconfig, verbose=params['debug']) |