Merge "Transform servergroup.create notification"
This commit is contained in:
commit
08dca37222
|
@ -417,6 +417,10 @@ class InstanceGroup(base.NovaPersistentObject, base.NovaObject,
|
|||
payload['server_group_id'] = self.uuid
|
||||
compute_utils.notify_about_server_group_update(self._context,
|
||||
"create", payload)
|
||||
compute_utils.notify_about_server_group_action(
|
||||
context=self._context,
|
||||
group=self,
|
||||
action=fields.NotificationAction.CREATE)
|
||||
|
||||
@base.remotable
|
||||
def create(self):
|
||||
|
|
Loading…
Reference in New Issue