Revision 32388e6d

b/lib/cmdlib.py
5712 5712
        disk_idx_base = len(instance.disks)
5713 5713
        new_disk = _GenerateDiskTemplate(self,
5714 5714
                                         instance.disk_template,
5715
                                         instance, instance.primary_node,
5715
                                         instance.name, instance.primary_node,
5716 5716
                                         instance.secondary_nodes,
5717 5717
                                         [disk_dict],
5718 5718
                                         file_path,
b/lib/config.py
443 443
    multiple minors. The result is the list of minors, in the same
444 444
    order as the passed nodes.
445 445

  
446
    @type instance: string
447
    @param instance: the instance for which we allocate minors
448

  
446 449
    """
450
    assert isinstance(instance, basestring), \
451
           "Invalid argument passed to AllocateDRBDMinor"
452

  
447 453
    d_map = self._UnlockedComputeDRBDMap()
448 454
    result = []
449 455
    for nname in nodes:
......
484 490
                     released
485 491

  
486 492
    """
493
    assert isinstance(instance, basestring), \
494
           "Invalid argument passed to ReleaseDRBDMinors"
487 495
    for key, name in self._temporary_drbds.items():
488 496
      if name == instance:
489 497
        del self._temporary_drbds[key]

Also available in: Unified diff