]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add missing config values for vmwware_vmdk test
authorSascha Peilicke <saschpe@mailbox.org>
Tue, 11 Mar 2014 14:50:38 +0000 (15:50 +0100)
committerSascha Peilicke <saschpe@mailbox.org>
Wed, 12 Mar 2014 10:47:58 +0000 (11:47 +0100)
Import CONF.glance_api_version from cinder.common.config

Closes-Bug: 1290883
Change-Id: I9f64c2f60efe517ad8e4ee2a98ed8da4be257b47

cinder/image/glance.py

index aca124387f988711367700f589e10d5f6179469c..79af5703fa9e5efc7f74d7912cb288250ab05840 100644 (file)
@@ -44,6 +44,7 @@ glance_opts = [
 ]
 CONF = cfg.CONF
 CONF.register_opts(glance_opts)
+CONF.import_opt('glance_api_version', 'cinder.common.config')
 
 LOG = logging.getLogger(__name__)