Consolidate IPA configuration into a config module
This patch moves the IPA oslo configs out of the agent cmd into their own module so that it is safe to import them from other places in the application without causing circular imports. Change-Id: I100792bd0d1f369763afaa6f93e144e9967c3048
This commit is contained in:
ironic_python_agent
@ -22,11 +22,6 @@ import sys
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
|
||||
# FIXME(lucasagomes): If you don't import the agent module the tests in
|
||||
# this file will fail, it was working before because the agent module was
|
||||
# being imported at tests/agent.py
|
||||
from ironic_python_agent.cmd import agent # noqa
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
Reference in New Issue
Block a user