summaryrefslogtreecommitdiff
path: root/cinder/volume/flows/manager/create_volume.py
diff options
context:
space:
mode:
Diffstat (limited to 'cinder/volume/flows/manager/create_volume.py')
-rw-r--r--cinder/volume/flows/manager/create_volume.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cinder/volume/flows/manager/create_volume.py b/cinder/volume/flows/manager/create_volume.py
index 0ae3cb59d..905258bf4 100644
--- a/cinder/volume/flows/manager/create_volume.py
+++ b/cinder/volume/flows/manager/create_volume.py
@@ -146,7 +146,7 @@ class OnFailureRescheduleTask(flow_utils.CinderTask):
volume.id)
def _reschedule(self, context, cause, request_spec, filter_properties,
- volume):
+ volume) -> None:
"""Actions that happen during the rescheduling attempt occur here."""
create_volume = self.scheduler_rpcapi.create_volume
@@ -170,8 +170,8 @@ class OnFailureRescheduleTask(flow_utils.CinderTask):
# Stringify to avoid circular ref problem in json serialization
retry_info['exc'] = traceback.format_exception(*cause.exc_info)
- return create_volume(context, volume, request_spec=request_spec,
- filter_properties=filter_properties)
+ create_volume(context, volume, request_spec=request_spec,
+ filter_properties=filter_properties)
def _post_reschedule(self, volume):
"""Actions that happen after the rescheduling attempt occur here."""