The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/8016

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From f9e475d788dd3ace373713795bf3cb567de85b53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Fri, 9 Oct 2020 13:36:20 -0400
Subject: [PATCH] lxd/instance/qemu: Fix bad event name
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 lxd/instance/drivers/driver_qemu.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/instance/drivers/driver_qemu.go 
b/lxd/instance/drivers/driver_qemu.go
index 7c641ef033..5aebe9509c 100644
--- a/lxd/instance/drivers/driver_qemu.go
+++ b/lxd/instance/drivers/driver_qemu.go
@@ -623,7 +623,7 @@ func (vm *qemu) Shutdown(timeout time.Duration) error {
        }
 
        op.Done(nil)
-       vm.state.Events.SendLifecycle(vm.project, "instance-shutdown", 
fmt.Sprintf("/1.0/virtual-machines/%s", vm.name), nil)
+       vm.state.Events.SendLifecycle(vm.project, "virtual-machine-shutdown", 
fmt.Sprintf("/1.0/virtual-machines/%s", vm.name), nil)
        return nil
 }
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to