Remove unused rpc import
commit 2789f144d4
uses service.py
in openstack-common and changes the collector from a manager into
a Service. The rpc connection creation in CollectorManager is not
called any more. So, remove the unnecessary rpc import.
Change-Id: I710e14beb3485661e8aeeae0792fae68cba48979
Signed-off-by: Shane Wang <shane.wang@intel.com>
This commit is contained in:
parent
9cd9e9522d
commit
c6502e1191
@ -29,12 +29,6 @@ from ceilometer.openstack.common import log
|
||||
from ceilometer.openstack.common import timeutils
|
||||
from ceilometer.openstack.common.rpc import dispatcher as rpc_dispatcher
|
||||
|
||||
try:
|
||||
import ceilometer.openstack.common.rpc as rpc
|
||||
except ImportError:
|
||||
# For Essex
|
||||
import nova.rpc as rpc
|
||||
|
||||
|
||||
OPTS = [
|
||||
cfg.ListOpt('disabled_notification_listeners',
|
||||
|
Loading…
Reference in New Issue
Block a user