diff --git a/octavia/api/v1/controllers/l7policy.py b/octavia/api/v1/controllers/l7policy.py index 0754168d38..b6804679fe 100644 --- a/octavia/api/v1/controllers/l7policy.py +++ b/octavia/api/v1/controllers/l7policy.py @@ -165,7 +165,7 @@ class L7PolicyController(base.BaseController): @pecan.expose() def _lookup(self, l7policy_id, *remainder): - """Overriden pecan _lookup method for custom routing. + """Overridden pecan _lookup method for custom routing. Verifies that the l7policy passed in the url exists, and if so decides which controller, if any, should control be passed. diff --git a/octavia/api/v1/controllers/listener.py b/octavia/api/v1/controllers/listener.py index 9c4636c05a..94416c7895 100644 --- a/octavia/api/v1/controllers/listener.py +++ b/octavia/api/v1/controllers/listener.py @@ -229,7 +229,7 @@ class ListenersController(base.BaseController): @pecan.expose() def _lookup(self, listener_id, *remainder): - """Overriden pecan _lookup method for custom routing. + """Overridden pecan _lookup method for custom routing. Verifies that the listener passed in the url exists, and if so decides which controller, if any, should control be passed. diff --git a/octavia/api/v1/controllers/load_balancer.py b/octavia/api/v1/controllers/load_balancer.py index 8ff6c95cd9..ec256d739f 100644 --- a/octavia/api/v1/controllers/load_balancer.py +++ b/octavia/api/v1/controllers/load_balancer.py @@ -52,7 +52,7 @@ class LoadBalancersController(base.BaseController): @wsme_pecan.wsexpose([lb_types.LoadBalancerResponse], wtypes.text, wtypes.text) def get_all(self, tenant_id=None, project_id=None): - """Lists all listeners on a load balancer.""" + """Lists all load balancers.""" # NOTE(blogan): tenant_id and project_id are optional query parameters # tenant_id and project_id are the same thing. tenant_id will be kept # around for a short amount of time. @@ -173,7 +173,7 @@ class LoadBalancersController(base.BaseController): @pecan.expose() def _lookup(self, lb_id, *remainder): - """Overriden pecan _lookup method for custom routing. + """Overridden pecan _lookup method for custom routing. Verifies that the load balancer passed in the url exists, and if so decides which controller, if any, should control be passed. diff --git a/octavia/api/v1/controllers/pool.py b/octavia/api/v1/controllers/pool.py index ebae3f3b53..d369ed2596 100644 --- a/octavia/api/v1/controllers/pool.py +++ b/octavia/api/v1/controllers/pool.py @@ -52,7 +52,6 @@ class PoolsController(base.BaseController): @wsme_pecan.wsexpose([pool_types.PoolResponse], wtypes.text) def get_all(self, listener_id=None): - """Lists all pools on a listener or loadbalancer.""" context = pecan.request.context.get('octavia_context') if listener_id is not None: @@ -206,7 +205,7 @@ class PoolsController(base.BaseController): @pecan.expose() def _lookup(self, pool_id, *remainder): - """Overriden pecan _lookup method for custom routing. + """Overridden pecan _lookup method for custom routing. Verifies that the pool passed in the url exists, and if so decides which controller, if any, should control be passed.