[Pkg-libvirt-commits] [libguestfs] 93/146: v2v: -o libvirt: Replace List.mapi with mapi.

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 17:00:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository libguestfs.

commit 0c717d86a9ae66162eebe315d1c56c82a01b9096
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Thu Dec 18 08:30:18 2014 +0000

    v2v: -o libvirt: Replace List.mapi with mapi.
    
    Don't depend on OCaml >= 4.00.
    
    https://bugs.gentoo.org/show_bug.cgi?id=532698
    
    Thanks: Fabian Ohler
    (cherry picked from commit 47d909808aa8cd285f46cab5ea08c7971f8f2f85)
---
 v2v/output_libvirt.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/output_libvirt.ml b/v2v/output_libvirt.ml
index cdc86b4..b566c16 100644
--- a/v2v/output_libvirt.ml
+++ b/v2v/output_libvirt.ml
@@ -114,7 +114,7 @@ let create_libvirt_xml ?pool source targets guestcaps target_features =
     let block_bus =
       match guestcaps.gcaps_block_bus with
       | Virtio_blk -> "virtio" | IDE -> "ide" in
-    List.mapi (
+    mapi (
       fun i t ->
         e "disk" [
           "type", if pool = None then "file" else "volume";

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list