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

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) ===
Closes #5640

Signed-off-by: Stéphane Graber <[email protected]>
From 24838721a6f14539e7273c2ea0de79f423c96901 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <[email protected]>
Date: Thu, 18 Apr 2019 13:26:02 -0400
Subject: [PATCH] client: Copy volume config and description
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #5640

Signed-off-by: Stéphane Graber <[email protected]>
---
 client/lxd_storage_volumes.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/client/lxd_storage_volumes.go b/client/lxd_storage_volumes.go
index f0f3f61328..c405f12102 100644
--- a/client/lxd_storage_volumes.go
+++ b/client/lxd_storage_volumes.go
@@ -375,6 +375,8 @@ func (r *ProtocolLXD) CopyStoragePoolVolume(pool string, 
source ContainerServer,
                        VolumeOnly: args.VolumeOnly,
                },
        }
+       req.Config = volume.Config
+       req.Description = volume.Description
 
        if r == source {
                // Send the request
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to