From 9206b54f8b3f92f948a891240d06b673a2eba332 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Tue, 14 Jan 2014 10:57:32 -0800 Subject: [PATCH] Use a *args pass-in instead of a list one Change-Id: Ieef972f413dcf444d26c15a02d1993acf7cbb079 --- cinder/volume/flows/create_volume/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/flows/create_volume/__init__.py b/cinder/volume/flows/create_volume/__init__.py index bb3857763..092c8bf07 100644 --- a/cinder/volume/flows/create_volume/__init__.py +++ b/cinder/volume/flows/create_volume/__init__.py @@ -927,7 +927,7 @@ class OnFailureRescheduleTask(base.CinderTask): def revert(self, context, result, flow_failures, **kwargs): # Check if we have a cause which can tell us not to reschedule. for failure in flow_failures.values(): - if failure.check(self.no_reschedule_types): + if failure.check(*self.no_reschedule_types): return volume_id = kwargs['volume_id'] -- 2.45.2