diff options
Diffstat (limited to 'roles')
| -rw-r--r-- | roles/lib_openshift/library/oadm_manage_node.py | 5 | ||||
| -rw-r--r-- | roles/lib_openshift/src/class/oadm_manage_node.py | 3 | ||||
| -rw-r--r-- | roles/lib_openshift/src/doc/manage_node | 2 | 
3 files changed, 6 insertions, 4 deletions
diff --git a/roles/lib_openshift/library/oadm_manage_node.py b/roles/lib_openshift/library/oadm_manage_node.py index 1d2b70885..64288f70d 100644 --- a/roles/lib_openshift/library/oadm_manage_node.py +++ b/roles/lib_openshift/library/oadm_manage_node.py @@ -75,7 +75,7 @@ options:      description:      - The selector when filtering on node labels      required: false -    default: str +    default: None      aliases: []    pod_selector:      description: @@ -1248,7 +1248,7 @@ class ManageNode(OpenShiftCLI):      def __init__(self,                   config,                   verbose=False): -        ''' Constructor for OCVolume ''' +        ''' Constructor for ManageNode '''          super(ManageNode, self).__init__(None, config.kubeconfig)          self.config = config @@ -1315,6 +1315,7 @@ class ManageNode(OpenShiftCLI):          # 3.3 specific          else:              # this is gross but I filed a bug... +            # https://bugzilla.redhat.com/show_bug.cgi?id=1381621              # build our own json from the output.              all_pods = json.loads(results['results'])['items'] diff --git a/roles/lib_openshift/src/class/oadm_manage_node.py b/roles/lib_openshift/src/class/oadm_manage_node.py index e0a9fc304..61b6a5ebe 100644 --- a/roles/lib_openshift/src/class/oadm_manage_node.py +++ b/roles/lib_openshift/src/class/oadm_manage_node.py @@ -22,7 +22,7 @@ class ManageNode(OpenShiftCLI):      def __init__(self,                   config,                   verbose=False): -        ''' Constructor for OCVolume ''' +        ''' Constructor for ManageNode '''          super(ManageNode, self).__init__(None, config.kubeconfig)          self.config = config @@ -89,6 +89,7 @@ class ManageNode(OpenShiftCLI):          # 3.3 specific          else:              # this is gross but I filed a bug... +            # https://bugzilla.redhat.com/show_bug.cgi?id=1381621              # build our own json from the output.              all_pods = json.loads(results['results'])['items'] diff --git a/roles/lib_openshift/src/doc/manage_node b/roles/lib_openshift/src/doc/manage_node index ff5a21ba5..382377f3e 100644 --- a/roles/lib_openshift/src/doc/manage_node +++ b/roles/lib_openshift/src/doc/manage_node @@ -30,7 +30,7 @@ options:      description:      - The selector when filtering on node labels      required: false -    default: str +    default: None      aliases: []    pod_selector:      description:  | 
