Revision 74c47259 lib/cmdlib.py

b/lib/cmdlib.py
4912 4912
    # TODO: check for size
4913 4913

  
4914 4914
    cluster_name = self.cfg.GetClusterName()
4915
    for dev in snap_disks:
4915
    for idx, dev in enumerate(snap_disks):
4916 4916
      if dev:
4917 4917
        if not self.rpc.call_snapshot_export(src_node, dev, dst_node.name,
4918
                                             instance, cluster_name):
4918
                                             instance, cluster_name, idx):
4919 4919
          self.LogWarning("Could not export block device %s from node %s to"
4920 4920
                          " node %s", dev.logical_id[1], src_node,
4921 4921
                          dst_node.name)

Also available in: Unified diff