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

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) ===
https://lists.linuxcontainers.org/pipermail/lxc-users/2017-July/013565.html

Signed-off-by: Christian Brauner <[email protected]>
From da38899097b753a83d7b90040d4a112e9d0a8732 Mon Sep 17 00:00:00 2001
From: Christian Brauner <[email protected]>
Date: Thu, 13 Jul 2017 12:20:01 +0200
Subject: [PATCH] storage volumes config: fix logic

https://lists.linuxcontainers.org/pipermail/lxc-users/2017-July/013565.html

Signed-off-by: Christian Brauner <[email protected]>
---
 lxd/storage_volumes_config.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxd/storage_volumes_config.go b/lxd/storage_volumes_config.go
index 41c2d66dd..7d494cd9f 100644
--- a/lxd/storage_volumes_config.go
+++ b/lxd/storage_volumes_config.go
@@ -98,6 +98,7 @@ func storageVolumeFillDefault(name string, config 
map[string]string, parentPool
                        if err != nil {
                                return err
                        }
+               } else {
                        config["size"] = "10GB"
                }
 
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to