diff --git a/magnum/common/cert_manager/x509keypair_cert_manager.py b/magnum/common/cert_manager/x509keypair_cert_manager.py index 085a309d10..8fda02f5cf 100644 --- a/magnum/common/cert_manager/x509keypair_cert_manager.py +++ b/magnum/common/cert_manager/x509keypair_cert_manager.py @@ -13,14 +13,11 @@ # under the License. from oslo_config import cfg -from oslo_log import log as logging from magnum.common.cert_manager import cert_manager from magnum import objects -LOG = logging.getLogger(__name__) - CONF = cfg.CONF diff --git a/magnum/common/policy.py b/magnum/common/policy.py index 50950b433e..dcf1375534 100644 --- a/magnum/common/policy.py +++ b/magnum/common/policy.py @@ -17,7 +17,6 @@ import decorator from oslo_config import cfg -from oslo_log import log as logging from oslo_policy import policy import pecan @@ -27,8 +26,6 @@ from magnum.common import exception _ENFORCER = None CONF = cfg.CONF -LOG = logging.getLogger(__name__) - # we can get a policy enforcer by this init. # oslo policy support change policy rule dynamically.