Browse Source

modify grammatical errors

Change-Id: I4caeba85d880c5f0456efeac963ea9d792180498
changes/13/576513/3
sunqingliang6 3 years ago
parent
commit
446e713d04
  1. 2
      FEATURES.rst
  2. 2
      api-ref/source/parameters.yaml
  3. 2
      doc/specs/workflow-recover.rst
  4. 2
      senlin/db/api.py
  5. 2
      senlin/engine/health_manager.py
  6. 2
      senlin/policies/affinity_policy.py
  7. 2
      senlin/policies/lb_policy.py

2
FEATURES.rst

@ -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.

2
api-ref/source/parameters.yaml

@ -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

2
doc/specs/workflow-recover.rst

@ -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
------------

2
senlin/db/api.py

@ -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)

2
senlin/engine/health_manager.py

@ -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.

2
senlin/policies/affinity_policy.py

@ -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.')

2
senlin/policies/lb_policy.py

@ -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)

Loading…
Cancel
Save