[Kimchi-devel] [PATCH] [Kimchi] Issue #859 - Fix error when adding new disk to VM.
Socorro Stoppler
socorro at linux.vnet.ibm.com
Tue Mar 8 21:48:18 UTC 2016
Reviewed-by: Socorro Stoppler <socorro at linux.vnet.ibm.com>
Tested-by: Socorro Stoppler <socorro at linux.vnet.ibm.com>
On 03/08/2016 12:47 PM, pvital at linux.vnet.ibm.com wrote:
> From: Paulo Vital <pvital at 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 at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>
More information about the Kimchi-devel
mailing list