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

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 <[email protected]>
From 22366b9bcbf124b6f36bab7055e05efc47f2a8e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <[email protected]>
Date: Mon, 6 May 2019 18:42:06 -0400
Subject: [PATCH] lxd/containers: Fix bad operation type
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <[email protected]>
---
 lxd/container_put.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxd/container_put.go b/lxd/container_put.go
index 90a12b7d5e..388413746f 100644
--- a/lxd/container_put.go
+++ b/lxd/container_put.go
@@ -80,7 +80,7 @@ func containerPut(d *Daemon, r *http.Request) Response {
                        return nil
                }
 
-               opType = db.OperationSnapshotUpdate
+               opType = db.OperationContainerUpdate
        } else {
                // Snapshot Restore
                do = func(op *operation) error {
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to