cleanup NovaObjectDictCompat from quota
cleanup subclassing on NovaObjectDictCompat ih nova/objects/quota.py Due to the exhaustive nature of changes, the cleanup is done one object at a time. There shall be more patches to follow for other objects. Related to blueprint liberty-objects Change-Id: I24f61c16f84b3fed18a8a0bbb5d8e52d22fba440
This commit is contained in:
parent
bc4903f89b
commit
6dad8c021b
|
@ -46,10 +46,8 @@ def ids_from_server_group(context, server_group):
|
|||
return ids_from_instance(context, server_group)
|
||||
|
||||
|
||||
# TODO(berrange): Remove NovaObjectDictCompat
|
||||
@base.NovaObjectRegistry.register
|
||||
class Quotas(base.NovaObject,
|
||||
base.NovaObjectDictCompat):
|
||||
class Quotas(base.NovaObject):
|
||||
# Version 1.0: initial version
|
||||
# Version 1.1: Added create_limit() and update_limit()
|
||||
# Version 1.2: Added limit_check() and count()
|
||||
|
|
Loading…
Reference in New Issue