Commit 3c336ed3 authored by Chaozhe.Chen's avatar Chaozhe.Chen

Trivial: Cleanup unused conf variables

In some files, oslo_config.cfg has been imported but not used.
So remove it.

Change-Id: Id731dcf452c70613c0c5ecf63b8eeed2bc5b367a
parent 2bd126bb
......@@ -13,7 +13,6 @@
# under the License.
"""Implementation of Inspector abstraction for Hyper-V"""
from oslo_config import cfg
from oslo_utils import units
from ceilometer.compute.pollsters import util
......@@ -21,9 +20,6 @@ from ceilometer.compute.virt.hyperv import utilsv2
from ceilometer.compute.virt import inspector as virt_inspector
CONF = cfg.CONF
class HyperVInspector(virt_inspector.Inspector):
def __init__(self):
......
......@@ -22,13 +22,9 @@ import sys
if sys.platform == 'win32':
import wmi
from oslo_config import cfg
from ceilometer.compute.virt import inspector
from ceilometer.i18n import _
CONF = cfg.CONF
class HyperVException(inspector.InspectorException):
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment