Remove nova.flags imports from scheduler code
nova.flags is no longer needed. nova.config is now used. Removes FLAGS and LOG from baremetal_host_manager completely, which doesn't use them. Change-Id: Ia1a4597e28e8ebb8adc5a77b8b006aabe354ac15
This commit is contained in:
@@ -28,7 +28,6 @@ https://bugs.launchpad.net/nova/+bug/1009681
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from nova import config
|
from nova import config
|
||||||
from nova import flags
|
|
||||||
from nova.openstack.common import cfg
|
from nova.openstack.common import cfg
|
||||||
from nova.openstack.common import importutils
|
from nova.openstack.common import importutils
|
||||||
from nova.scheduler import driver
|
from nova.scheduler import driver
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ Client side of the scheduler manager RPC API.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from nova import config
|
from nova import config
|
||||||
from nova import flags
|
|
||||||
from nova.openstack.common import jsonutils
|
from nova.openstack.common import jsonutils
|
||||||
import nova.openstack.common.rpc.proxy
|
import nova.openstack.common.rpc.proxy
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user