Travil Change: Correct comment errors
Change-Id: I8e667f7b394ed426dc46e42fa4b9082f8de0c072
This commit is contained in:
parent
f9835cff9c
commit
8cddcf81c7
@ -84,7 +84,7 @@ class NovaAPI(object):
|
||||
"""Notify Nova that ARQ bindings are resolved for a given instance.
|
||||
|
||||
:param instance_uuid: UUID of the instance whose ARQs are resolved
|
||||
:param arq_bind_statuses: List of (arq_state, arq_bind_status) tuples
|
||||
:param arq_bind_statuses: List of (arq_uuid, arq_bind_status) tuples
|
||||
:returns: None
|
||||
"""
|
||||
events = self._get_acc_changed_events(instance_uuid, arq_bind_statuses)
|
||||
|
@ -57,8 +57,8 @@ class ExtARQJobMixin(object):
|
||||
|
||||
def start_bind_job(self, context, valid_fields):
|
||||
"""Check and start bind jobs for ARQ."""
|
||||
# Check can ARC be bound.
|
||||
expected = ARQ_STATES_TRANSFORM_MATRIX[constants.ARQ_BIND_STARTED]
|
||||
# Check whether ARQ can be bound.
|
||||
if self.arq.state not in expected:
|
||||
raise exception.ARQBadState(
|
||||
state=self.arq.state, uuid=self.arq.uuid, expected=expected)
|
||||
|
Loading…
Reference in New Issue
Block a user