]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Merge "Small cleanups in BaseVD/VolumeDriver"
authorJenkins <jenkins@review.openstack.org>
Tue, 29 Sep 2015 10:16:30 +0000 (10:16 +0000)
committerGerrit Code Review <review@openstack.org>
Tue, 29 Sep 2015 10:16:30 +0000 (10:16 +0000)
1  2 
cinder/volume/driver.py

index afce7a336386ecabb44b625ff4bd055bfc160cf4,79cc69152e12f842c3d50daa2d5a82d57c9bae6d..80437c14e37a39bc17b9ec20d3724557d1e8477f
@@@ -322,12 -292,11 +322,13 @@@ class BaseVD(object)
              self.configuration.append_config_values(volume_opts)
              self.configuration.append_config_values(iser_opts)
              utils.setup_tracing(self.configuration.safe_get('trace_flags'))
 -        self.set_execute(execute)
 +
 +        self._execute = execute
          self._stats = {}
+         self._throttle = None
  
          self.pools = []
 +        self.capabilities = {}
  
          # We set these mappings up in the base driver so they
          # can be used by children