[Kimchi-devel] [project-kimchi] [PATCH v1 3/3] Issue #276, logical pool: a quick fix for the device listing rules, front-end

Sheldon shaohef at linux.vnet.ibm.com
Wed Dec 18 12:58:17 UTC 2013


Reviewed-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
On 12/18/2013 06:20 PM, Zhou Zheng Sheng wrote:
> The current front-end implementation filter out disks from the free
> block device listings. This is not needed after the previous back-end
> pat correctly listing free disks.
>
> Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
> ---
>   ui/js/src/kimchi.storagepool_add_main.js | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ui/js/src/kimchi.storagepool_add_main.js b/ui/js/src/kimchi.storagepool_add_main.js
> index 7efbfa0..02323f5 100644
> --- a/ui/js/src/kimchi.storagepool_add_main.js
> +++ b/ui/js/src/kimchi.storagepool_add_main.js
> @@ -45,7 +45,7 @@ kimchi.initStorageAddPage = function() {
>               var deviceHtml = $('#partitionTmpl').html();
>               var listHtml = '';
>               $.each(data, function(index, value) {
> -                if (value.type === 'part') {
> +                if (value.type === 'part' || value.type === 'disk') {
>                       listHtml += kimchi.template(deviceHtml, value);
>                   }
>               });



Sheldon Feng(???)
IBM Linux Technology Center

-- 
project-kimchi mailing list <project-kimchi at googlegroups.com>
https://groups.google.com/forum/#!forum/project-kimchi
--- 
You received this message because you are subscribed to the Google Groups "project-kimchi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-kimchi+unsubscribe at googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20131218/d88c076b/attachment.html>


More information about the Kimchi-devel mailing list