Correct inheritance of nova.volume.cinder.API
nova.volume.cinder.API was deriving incorrectly from nova.db.base. This patch simply removes that unnecessary import and changes nova.volume.cinder.API to derive from object instead. Change-Id: I5092b7fbb3780317a09a512aed7ecbe1d57a4428 Closes-bug: #1292997
This commit is contained in:
parent
8d2b250105
commit
048cd541c7
|
@ -26,7 +26,6 @@ from cinderclient import service_catalog
|
|||
from cinderclient.v1 import client as cinder_client
|
||||
from oslo.config import cfg
|
||||
|
||||
from nova.db import base
|
||||
from nova import exception
|
||||
from nova.openstack.common.gettextutils import _
|
||||
from nova.openstack.common import log as logging
|
||||
|
@ -199,7 +198,7 @@ def translate_snapshot_exception(method):
|
|||
return wrapper
|
||||
|
||||
|
||||
class API(base.Base):
|
||||
class API(object):
|
||||
"""API for interacting with the volume manager."""
|
||||
|
||||
@translate_volume_exception
|
||||
|
|
Loading…
Reference in New Issue