modify grammatical errors

Change-Id: I4caeba85d880c5f0456efeac963ea9d792180498
This commit is contained in:
sunqingliang6 2018-06-19 20:59:28 +08:00
parent 7f2a57df84
commit 446e713d04
7 changed files with 7 additions and 7 deletions

View File

@ -170,7 +170,7 @@ User Defined Actions
Actions in Senlin are mostly built-in ones at present. There are requirements
to incorporate Shell scripts and/or other structured software configuration
tools into the whole picture. One of the option is to provide a easy way for
tools into the whole picture. One of the option is to provide an easy way for
Senlin to work with Ansible, for example.

View File

@ -308,7 +308,7 @@ action_data:
in: body
required: True
description: |
A structured representation of data associated with a action object.
A structured representation of data associated with an action object.
action_id:
type: UUID

View File

@ -62,7 +62,7 @@ The proposed change will include three parts:
host: Target_host
* example: to add sample workflow definitions and health policy for Senlin
           users to create a end2end story.
           users to create an end2end story.
Alternatives
------------

View File

@ -397,7 +397,7 @@ def action_abandon(context, action_id, values=None):
def action_lock_check(context, action_id, owner=None):
'''Check whether an action has been locked(by a owner).'''
'''Check whether an action has been locked(by an owner).'''
return IMPL.action_lock_check(context, action_id, owner)

View File

@ -161,7 +161,7 @@ class HeatNotificationEndpoint(object):
def ListenerProc(exchange, project_id, cluster_id, recover_action):
"""Thread procedure for running a event listener.
"""Thread procedure for running an event listener.
:param exchange: The control exchange for a target service.
:param project_id: The ID of the project to filter.

View File

@ -199,7 +199,7 @@ class AffinityPolicy(base.Policy):
:returns: When the operation was successful, returns a tuple of
(True, data) where the data contains references to the
resources created; otherwise returns a tuple of (False,
error) where the err contains a error message.
error) where the err contains an error message.
"""
reason = _('Servergroup resource deletion succeeded.')

View File

@ -395,7 +395,7 @@ class LoadBalancingPolicy(base.Policy):
:returns: When the operation was successful, returns a tuple of
(True, data) where the data contains references to the resources
created; otherwise returns a tuple of (False, err) where the err
contains a error message.
contains an error message.
"""
reason = _('LB resources deletion succeeded.')
lb_driver = self.lbaas(cluster.user, cluster.project)