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:
Cao Xuan Hoang
2016-08-29 12:57:11 +07:00
parent f42106ca34
commit deb5cb3fc2
8 changed files with 0 additions and 27 deletions

View File

@@ -17,14 +17,10 @@
# limitations under the License.
#
from oslo_config import cfg
from watcher.common import ceilometer_helper
from watcher.decision_engine.cluster.history import base
CONF = cfg.CONF
class CeilometerClusterHistory(base.BaseClusterHistory):
def __init__(self, osc=None):

View File

@@ -17,15 +17,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_config import cfg
from watcher.common import utils
from watcher.decision_engine.loading import default
CONF = cfg.CONF
class CollectorManager(object):
def __init__(self):

View File

@@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_config import cfg
from oslo_log import log
from watcher._i18n import _
@@ -23,7 +22,6 @@ from watcher.decision_engine.loading import default
from watcher.decision_engine.strategy.selection import base
LOG = log.getLogger(__name__)
CONF = cfg.CONF
class DefaultStrategySelector(base.BaseSelector):