Replace FLAGS with cfg.CONF in api
Replace all the FLAGS with cfg.CONF in cinder/api Large commit was split into several parts Change-Id: I2114d5fc45f5299c3b2011270034a3370e0ec388 Fixes: bug #1182037
This commit is contained in:
@@ -14,18 +14,17 @@
|
||||
|
||||
"""The Extended Snapshot Attributes API extension."""
|
||||
|
||||
|
||||
from webob import exc
|
||||
|
||||
from cinder.api import extensions
|
||||
from cinder.api.openstack import wsgi
|
||||
from cinder.api import xmlutil
|
||||
from cinder import exception
|
||||
from cinder import flags
|
||||
from cinder.openstack.common import log as logging
|
||||
from cinder import volume
|
||||
|
||||
|
||||
FLAGS = flags.FLAGS
|
||||
LOG = logging.getLogger(__name__)
|
||||
authorize = extensions.soft_extension_authorizer(
|
||||
'volume',
|
||||
|
||||
Reference in New Issue
Block a user