[lxc-devel] [lxd/master] storage volumes config: fix logic
brauner on Github
lxc-bot at linuxcontainers.org
Thu Jul 13 10:24:58 UTC 2017
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 443 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170713/33c8b606/attachment.bin>
-------------- next part --------------
From da38899097b753a83d7b90040d4a112e9d0a8732 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
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 <christian.brauner at ubuntu.com>
---
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"
}
More information about the lxc-devel
mailing list