Merge "Transform servergroup.delete notification"

This commit is contained in:
Jenkins 2017-09-21 19:41:01 +00:00 committed by Gerrit Code Review
commit ca08586c68
1 changed files with 4 additions and 0 deletions

View File

@ -436,6 +436,10 @@ class InstanceGroup(base.NovaPersistentObject, base.NovaObject,
self.obj_reset_changes()
compute_utils.notify_about_server_group_update(self._context,
"delete", payload)
compute_utils.notify_about_server_group_action(
context=self._context,
group=self,
action=fields.NotificationAction.DELETE)
@base.remotable_classmethod
def add_members(cls, context, group_uuid, instance_uuids):