From e38370c627b4c9937f31aa885e2488e54259993a Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 11 Feb 2015 14:14:51 -0800 Subject: [PATCH] Provided requirements are meant to be immutable Since provided values are not meant to change (and this statement is useless) we should not try to perform an update() on the provided values (the update is a no-op anyway, so might as well get rid of it). Change-Id: I18699fc64391445436537854a5e3723f4e89e961 --- cinder/volume/flows/api/create_volume.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cinder/volume/flows/api/create_volume.py b/cinder/volume/flows/api/create_volume.py index 017bc87a9..5ca22f15a 100644 --- a/cinder/volume/flows/api/create_volume.py +++ b/cinder/volume/flows/api/create_volume.py @@ -464,7 +464,6 @@ class EntryCreateTask(flow_utils.CinderTask): super(EntryCreateTask, self).__init__(addons=[ACTION], requires=requires) self.db = db - self.provides.update() def execute(self, context, optional_args, **kwargs): """Creates a database entry for the given inputs and returns details. -- 2.45.2