Aggregate.save() shouldn't return a value
Unlike all object object save methods, Aggregate.save() returns an aggregate object. This change removes the return to make it consistent with other objects. Change-Id: I2179bc90ae92dd3a4f739aae2802a417bd7e2d9d
This commit is contained in:
@@ -95,7 +95,7 @@ class Aggregate(base.NovaPersistentObject, base.NovaObject):
|
||||
compute_utils.notify_about_aggregate_update(context,
|
||||
"updateprop.end",
|
||||
payload)
|
||||
return self._from_db_object(context, self, db_aggregate)
|
||||
self._from_db_object(context, self, db_aggregate)
|
||||
|
||||
@base.remotable
|
||||
def update_metadata(self, context, updates):
|
||||
|
||||
Reference in New Issue
Block a user