Remove compatibility for oslo.versionedobjects < 0.10.0
oslo.versionedobjects 0.10.0 was released in 2015. Change-Id: I7dcc4783e9403869f9022b8a3d0df610a0c3a66f
This commit is contained in:
parent
d788d94896
commit
b7cc916ddc
@ -24,15 +24,6 @@ class IronicObjectIndirectionAPI(object_base.VersionedObjectIndirectionAPI):
|
|||||||
return self._conductor.object_action(context, objinst, objmethod,
|
return self._conductor.object_action(context, objinst, objmethod,
|
||||||
args, kwargs)
|
args, kwargs)
|
||||||
|
|
||||||
def object_class_action(self, context, objname, objmethod, objver,
|
|
||||||
args, kwargs):
|
|
||||||
# NOTE(xek): This method is implemented for compatibility with
|
|
||||||
# oslo.versionedobjects 0.10.0 and older. It will be replaced by
|
|
||||||
# object_class_action_versions.
|
|
||||||
versions = object_base.obj_tree_get_versions(objname)
|
|
||||||
return self.object_class_action_versions(
|
|
||||||
context, objname, objmethod, versions, args, kwargs)
|
|
||||||
|
|
||||||
def object_class_action_versions(self, context, objname, objmethod,
|
def object_class_action_versions(self, context, objname, objmethod,
|
||||||
object_versions, args, kwargs):
|
object_versions, args, kwargs):
|
||||||
return self._conductor.object_class_action_versions(
|
return self._conductor.object_class_action_versions(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user