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:
@@ -18,8 +18,6 @@ from oslo_config import cfg
|
||||
|
||||
from watcher.decision_engine.strategy.strategies import base as base_strategy
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
class FakeStrategy(base_strategy.BaseStrategy):
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
# limitations under the License.
|
||||
|
||||
import mock
|
||||
from oslo_config import cfg
|
||||
|
||||
from watcher.common import exception
|
||||
from watcher.decision_engine.loading import default as default_loader
|
||||
@@ -24,8 +23,6 @@ from watcher.decision_engine.strategy.selection import (
|
||||
from watcher.decision_engine.strategy import strategies
|
||||
from watcher.tests import base
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
class TestStrategySelector(base.TestCase):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user