Remove unused logging import

Change-Id: If9e62a64f1cf1284030a4b5e43677e24c5bc7504
This commit is contained in:
Anh Tran 2017-02-17 10:58:56 +07:00 committed by Vijendar Komalla
parent 3a9e8cfb40
commit 9d689924a9
5 changed files with 0 additions and 17 deletions

View File

@ -13,7 +13,6 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from oslo_log import log as logging
import pecan import pecan
import wsme import wsme
from wsme import types as wtypes from wsme import types as wtypes
@ -30,8 +29,6 @@ from magnum.i18n import _
from magnum import objects from magnum import objects
from magnum.objects import fields from magnum.objects import fields
LOG = logging.getLogger(__name__)
class Quota(base.APIBase): class Quota(base.APIBase):
"""API representation of a project Quota. """API representation of a project Quota.

View File

@ -16,7 +16,6 @@ import abc
import six import six
from oslo_config import cfg from oslo_config import cfg
from oslo_log import log as logging
from pkg_resources import iter_entry_points from pkg_resources import iter_entry_points
from stevedore import driver from stevedore import driver
@ -25,7 +24,6 @@ from magnum.objects import cluster_template
CONF = cfg.CONF CONF = cfg.CONF
LOG = logging.getLogger(__name__)
@six.add_metaclass(abc.ABCMeta) @six.add_metaclass(abc.ABCMeta)

View File

@ -10,15 +10,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from oslo_log import log as logging
from magnum.conductor import k8s_api as k8s from magnum.conductor import k8s_api as k8s
from magnum.conductor.scale_manager import ScaleManager from magnum.conductor.scale_manager import ScaleManager
LOG = logging.getLogger(__name__)
class K8sScaleManager(ScaleManager): class K8sScaleManager(ScaleManager):
def __init__(self, context, osclient, cluster): def __init__(self, context, osclient, cluster):

View File

@ -13,7 +13,6 @@
from neutronclient.common import exceptions as n_exception from neutronclient.common import exceptions as n_exception
from neutronclient.neutron import v2_0 as neutronV20 from neutronclient.neutron import v2_0 as neutronV20
import os import os
from oslo_log import log as logging
from magnum.common import exception from magnum.common import exception
from magnum.drivers.heat import k8s_fedora_template_def as kftd from magnum.drivers.heat import k8s_fedora_template_def as kftd
@ -21,8 +20,6 @@ from oslo_config import cfg
CONF = cfg.CONF CONF = cfg.CONF
LOG = logging.getLogger(__name__)
class FedoraK8sIronicTemplateDefinition(kftd.K8sFedoraTemplateDefinition): class FedoraK8sIronicTemplateDefinition(kftd.K8sFedoraTemplateDefinition):
"""Kubernetes template for a Fedora Baremetal.""" """Kubernetes template for a Fedora Baremetal."""

View File

@ -11,14 +11,10 @@
# under the License. # under the License.
from marathon import MarathonClient from marathon import MarathonClient
from oslo_log import log as logging
from magnum.conductor.scale_manager import ScaleManager from magnum.conductor.scale_manager import ScaleManager
LOG = logging.getLogger(__name__)
class MesosScaleManager(ScaleManager): class MesosScaleManager(ScaleManager):
"""When scaling a mesos cluster, MesosScaleManager will inspect the """When scaling a mesos cluster, MesosScaleManager will inspect the