From 3b08d383cf1b5e206edb20ed1ef8b85e8de1f507 Mon Sep 17 00:00:00 2001 From: lidong Date: Fri, 23 Feb 2018 09:46:21 +0800 Subject: [PATCH] Modify Descripition Modify Descripition in files: senlin/api/common/wsgi.py senlin/api/middleware/webhook.py senlin/engine/service.py Change-Id: If80c1cd1d312d40bdd73f91bf78b80f85add1ed7 --- senlin/api/common/wsgi.py | 2 +- senlin/api/middleware/webhook.py | 2 +- senlin/engine/service.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/senlin/api/common/wsgi.py b/senlin/api/common/wsgi.py index f96677566..3938f331e 100644 --- a/senlin/api/common/wsgi.py +++ b/senlin/api/common/wsgi.py @@ -550,7 +550,7 @@ class Router(object): class Request(webob.Request): - """Add some OpenStack API-specific logic to the base webob.Request.""" + """Add some OpenStack API-specific logics to the base webob.Request.""" def best_match_content_type(self): """Determine the requested response content-type.""" diff --git a/senlin/api/middleware/webhook.py b/senlin/api/middleware/webhook.py index ec604431b..c36fd8b42 100644 --- a/senlin/api/middleware/webhook.py +++ b/senlin/api/middleware/webhook.py @@ -29,7 +29,7 @@ class WebhookMiddleware(wsgi.Middleware): """Middleware for authenticating webhook triggering requests. This middleware authenticates the webhook trigger requests and then - rebuild the request header so that the request will successfully pass + rebuilds the request header so that the request will successfully pass the verification of keystone auth_token middleware. """ def process_request(self, req): diff --git a/senlin/engine/service.py b/senlin/engine/service.py index 3a186ff56..f02089703 100755 --- a/senlin/engine/service.py +++ b/senlin/engine/service.py @@ -1276,7 +1276,7 @@ class EngineService(service.Service): @request_context def cluster_scale_out(self, ctx, req): - """Inflate the size of a cluster by then given number (optional). + """Inflate the size of a cluster by the given number (optional). :param ctx: Request context for the call. :param req: An instance of the ClusterScaleOutRequest object.