TrivialFix: Remove logging import unused
This patch removes logging import unused in watcher/applier/manager.py watcher/applier/rpcapi.py watcher/decision_engine/goal/base.py watcher/decision_engine/model/notification/base.py watcher/decision_engine/model/notification/filtering.py Change-Id: I0b967e4931223b3b7e9459fb1483ed8185a1a7a0
This commit is contained in:
@@ -18,11 +18,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
|
||||||
|
|
||||||
from watcher.applier.messaging import trigger
|
from watcher.applier.messaging import trigger
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
|
||||||
|
|
||||||
from watcher.applier import manager
|
from watcher.applier import manager
|
||||||
from watcher.common import exception
|
from watcher.common import exception
|
||||||
@@ -25,7 +24,6 @@ from watcher.common import service
|
|||||||
from watcher.common import utils
|
from watcher.common import utils
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
CONF.register_group(manager.opt_group)
|
CONF.register_group(manager.opt_group)
|
||||||
CONF.register_opts(manager.APPLIER_MANAGER_OPTS, manager.opt_group)
|
CONF.register_opts(manager.APPLIER_MANAGER_OPTS, manager.opt_group)
|
||||||
|
|||||||
@@ -17,12 +17,8 @@
|
|||||||
import abc
|
import abc
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from oslo_log import log
|
|
||||||
|
|
||||||
from watcher.common.loader import loadable
|
from watcher.common.loader import loadable
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
@six.add_metaclass(abc.ABCMeta)
|
@six.add_metaclass(abc.ABCMeta)
|
||||||
class Goal(loadable.Loadable):
|
class Goal(loadable.Loadable):
|
||||||
|
|||||||
@@ -19,12 +19,8 @@
|
|||||||
import abc
|
import abc
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from oslo_log import log
|
|
||||||
|
|
||||||
from watcher.common import rpc
|
from watcher.common import rpc
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
@six.add_metaclass(abc.ABCMeta)
|
@six.add_metaclass(abc.ABCMeta)
|
||||||
class NotificationEndpoint(object):
|
class NotificationEndpoint(object):
|
||||||
|
|||||||
@@ -18,12 +18,9 @@
|
|||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from oslo_log import log
|
|
||||||
import oslo_messaging as om
|
import oslo_messaging as om
|
||||||
import six
|
import six
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class NotificationFilter(om.NotificationFilter):
|
class NotificationFilter(om.NotificationFilter):
|
||||||
"""Notification Endpoint base class
|
"""Notification Endpoint base class
|
||||||
|
|||||||
Reference in New Issue
Block a user