Reviewed-by: Socorro Stoppler <socorro(a)linux.vnet.ibm.com>
Tested-by: Socorro Stoppler <socorro(a)linux.vnet.ibm.com>
On 03/08/2016 12:47 PM, pvital(a)linux.vnet.ibm.com wrote:
From: Paulo Vital <pvital(a)linux.vnet.ibm.com>
Remove hard-coded reference to the storage pool when attaching a new disk to a
guest.
Signed-off-by: Paulo Vital <pvital(a)linux.vnet.ibm.com>
---
ui/js/src/kimchi.guest_storage_add.main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.guest_storage_add.main.js
b/ui/js/src/kimchi.guest_storage_add.main.js
index 55bc3ac..3f416e7 100644
--- a/ui/js/src/kimchi.guest_storage_add.main.js
+++ b/ui/js/src/kimchi.guest_storage_add.main.js
@@ -322,7 +322,7 @@ kimchi.guest_storage_add_main = function() {
}
var createVol = function(settings, addVolSettings) {
- kimchi.createVolumeWithCapacity('default', {
+ kimchi.createVolumeWithCapacity(settings['pool'], {
name: settings['vol'],
format: settings['format'],
capacity: settings['capacity']
--
2.5.0
_______________________________________________
Kimchi-devel mailing list
Kimchi-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel