Fix broken flag in test_imagecache
Removing the duplicate instances_path flag in nova/virt/libvirt in https://review.openstack.org/#change,3759 broke the imagecache unit tests. Change-Id: I8fed15bd22d88a7796e1f98981c3ad87358a244a
This commit is contained in:
@@ -32,7 +32,9 @@ from nova.virt.libvirt import imagecache
|
||||
from nova.virt.libvirt import utils as virtutils
|
||||
|
||||
|
||||
flags.DECLARE('instances_path', 'nova.compute.manager')
|
||||
FLAGS = flags.FLAGS
|
||||
|
||||
LOG = logging.getLogger('nova.tests.test_imagecache')
|
||||
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ imagecache_opts = [
|
||||
'removed'),
|
||||
]
|
||||
|
||||
flags.DECLARE('instances_path', 'nova.compute.manager')
|
||||
FLAGS = flags.FLAGS
|
||||
FLAGS.add_options(imagecache_opts)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user