TrivialFix: Remove cfg import unused
This patch removes cfg import unused in watcher/api/controllers/v1/goal.py watcher/api/controllers/v1/strategy.py watcher/decision_engine/cluster/history/ceilometer.py watcher/decision_engine/model/collector/manager.py watcher/decision_engine/strategy/selection/default.py watcher/tests/common/test_ceilometer_helper.py watcher/tests/decision_engine/fake_strategies.py watcher/tests/decision_engine/strategy/selector/test_strategy_selector.py Change-Id: I0f30a056c3efa49faed857b6d1001a2367d384ac
This commit is contained in:
@@ -32,8 +32,6 @@ Here are some examples of :ref:`Goals <goal_definition>`:
|
||||
modification, ...
|
||||
"""
|
||||
|
||||
from oslo_config import cfg
|
||||
|
||||
import pecan
|
||||
from pecan import rest
|
||||
import wsme
|
||||
@@ -49,8 +47,6 @@ from watcher.common import exception
|
||||
from watcher.common import policy
|
||||
from watcher import objects
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
class Goal(base.APIBase):
|
||||
"""API representation of a goal.
|
||||
|
||||
@@ -27,8 +27,6 @@ Some strategies may provide better optimization results but may take more time
|
||||
to find an optimal :ref:`Solution <solution_definition>`.
|
||||
"""
|
||||
|
||||
from oslo_config import cfg
|
||||
|
||||
import pecan
|
||||
from pecan import rest
|
||||
import wsme
|
||||
@@ -45,8 +43,6 @@ from watcher.common import policy
|
||||
from watcher.common import utils as common_utils
|
||||
from watcher import objects
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
class Strategy(base.APIBase):
|
||||
"""API representation of a strategy.
|
||||
|
||||
Reference in New Issue
Block a user