summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src/lib
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-01-31 14:21:34 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-02-01 14:51:57 -0500
commit9ef0eb0e1e25b2f4cf6c3cc72d838edf1cfafdf5 (patch)
tree514d0d456dcf4f7a209c56497b04d7f09426a798 /roles/lib_openshift/src/lib
parent7767df1e42e71f992b706e225e677b666a032141 (diff)
downloadopenshift-9ef0eb0e1e25b2f4cf6c3cc72d838edf1cfafdf5.tar.gz
openshift-9ef0eb0e1e25b2f4cf6c3cc72d838edf1cfafdf5.tar.bz2
openshift-9ef0eb0e1e25b2f4cf6c3cc72d838edf1cfafdf5.tar.xz
openshift-9ef0eb0e1e25b2f4cf6c3cc72d838edf1cfafdf5.zip
Fixing copy pasta comments. Fixed required in docs.
Diffstat (limited to 'roles/lib_openshift/src/lib')
-rw-r--r--roles/lib_openshift/src/lib/service.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/lib_openshift/src/lib/service.py b/roles/lib_openshift/src/lib/service.py
index 581487482..ffe27da47 100644
--- a/roles/lib_openshift/src/lib/service.py
+++ b/roles/lib_openshift/src/lib/service.py
@@ -31,7 +31,7 @@ class ServiceConfig(object):
self.create_dict()
def create_dict(self):
- ''' return a service as a dict '''
+ ''' instantiates a service dict '''
self.data['apiVersion'] = 'v1'
self.data['kind'] = 'Service'
self.data['metadata'] = {}
@@ -63,7 +63,7 @@ class ServiceConfig(object):
# pylint: disable=too-many-instance-attributes,too-many-public-methods
class Service(Yedit):
- ''' Class to wrap the oc command line tools '''
+ ''' Class to model the oc service object '''
port_path = "spec.ports"
portal_ip = "spec.portalIP"
cluster_ip = "spec.clusterIP"