From: Joshua Harlow Date: Wed, 11 Feb 2015 22:14:51 +0000 (-0800) Subject: Provided requirements are meant to be immutable X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=e38370c627b4c9937f31aa885e2488e54259993a;p=openstack-build%2Fcinder-build.git 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 --- 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.