remove unused LOG
This is to remove unused LOG to keep code clean. Change-Id: If329acd9b7d1b9c0f1b7abc282f96d1543324003
This commit is contained in:
parent
f6665df978
commit
cd08d79e01
@ -16,7 +16,6 @@
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
|
||||||
import six
|
import six
|
||||||
from swiftclient import client as swift_client
|
from swiftclient import client as swift_client
|
||||||
from swiftclient import exceptions as swift_exceptions
|
from swiftclient import exceptions as swift_exceptions
|
||||||
@ -28,8 +27,6 @@ from ironic_inspector import utils
|
|||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger('ironic_inspector.common.swift')
|
|
||||||
|
|
||||||
SWIFT_GROUP = 'swift'
|
SWIFT_GROUP = 'swift'
|
||||||
SWIFT_OPTS = [
|
SWIFT_OPTS = [
|
||||||
cfg.IntOpt('max_retries',
|
cfg.IntOpt('max_retries',
|
||||||
|
@ -23,9 +23,6 @@ from ironic_inspector.plugins import base
|
|||||||
from ironic_inspector import utils
|
from ironic_inspector import utils
|
||||||
|
|
||||||
|
|
||||||
LOG = utils.getProcessingLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
def coerce(value, expected):
|
def coerce(value, expected):
|
||||||
if isinstance(expected, float):
|
if isinstance(expected, float):
|
||||||
return float(value)
|
return float(value)
|
||||||
|
Loading…
Reference in New Issue
Block a user