Merge "Fix typos in comments and docstrings"

This commit is contained in:
Jenkins 2016-03-28 19:25:38 +00:00 committed by Gerrit Code Review
commit 46b073173c
3 changed files with 3 additions and 4 deletions

View File

@ -189,8 +189,8 @@ class EC2Server(EC2Mixin, base.ResourceManager):
# NOTE(wtakase): After instance deletion, instance can be 'terminated'
# state. If all instance states are 'terminated', this
# returns True. And if get_only_instaces() returns empty
# list, this also returns True because we consider
# returns True. And if get_only_instances() returns an
# empty list, this also returns True because we consider
# instance has already been deleted.
return all(map(lambda i: i.state == "terminated", instances))

View File

@ -162,7 +162,7 @@ class DesignateScenario(scenario.OpenStackScenario):
:param criterion: API Criterion to filter by
:param marker: UUID marker of the item to start the page from
:param limit: How many items to return in the page.
: returns: list of designate zones
:returns: list of designate zones
"""
return self.clients("designate", version="2").zones.list()

View File

@ -32,7 +32,6 @@ class Stack(common_utils.RandomNameGeneratorMixin):
:param Scenario scenario: scenario instance
:param Task task: task instance
:param str name: stack name
:param str template: template file path
:param dict files: dict with file name and path
:param dict parameters: parameters for template