vmoves table purge support
Change-Id: I10b4793d0471a26df4381988670334a695067d27
This commit is contained in:
@@ -617,6 +617,10 @@ def notification_delete(context, notification_uuid):
|
|||||||
if count == 0:
|
if count == 0:
|
||||||
raise exception.NotificationNotFound(id=notification_uuid)
|
raise exception.NotificationNotFound(id=notification_uuid)
|
||||||
|
|
||||||
|
model_query(context, models.VMove).filter_by(
|
||||||
|
notification_uuid=notification_uuid).soft_delete(
|
||||||
|
synchronize_session=False)
|
||||||
|
|
||||||
|
|
||||||
# db apis for vm moves
|
# db apis for vm moves
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user