Merge "Fix typos in comments and docstrings"
This commit is contained in:
commit
46b073173c
@ -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))
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user