Browse Source

Remove unused logging import

Change-Id: If9e62a64f1cf1284030a4b5e43677e24c5bc7504
changes/19/435219/3
Anh Tran 5 years ago
committed by Vijendar Komalla
parent
commit
9d689924a9
  1. 3
      magnum/api/controllers/v1/quota.py
  2. 2
      magnum/drivers/common/driver.py
  3. 5
      magnum/drivers/common/k8s_scale_manager.py
  4. 3
      magnum/drivers/k8s_fedora_ironic_v1/template_def.py
  5. 4
      magnum/drivers/mesos_ubuntu_v1/scale_manager.py

3
magnum/api/controllers/v1/quota.py

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

2
magnum/drivers/common/driver.py

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

5
magnum/drivers/common/k8s_scale_manager.py

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

3
magnum/drivers/k8s_fedora_ironic_v1/template_def.py

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

4
magnum/drivers/mesos_ubuntu_v1/scale_manager.py

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

Loading…
Cancel
Save