Revision 8a31717c

b/lib/rpc.py
1010 1010

  
1011 1011
    """
1012 1012
    return self._SingleNodeCall(node, "blockdev_rename",
1013
                                [(d.ToDict(), uid) for d, uid in devlist])
1013
                                [[(d.ToDict(), uid) for d, uid in devlist]])
1014 1014

  
1015 1015
  @_RpcTimeout(_TMO_NORMAL)
1016 1016
  def call_blockdev_pause_resume_sync(self, node, disks, pause):
b/lib/server/noded.py
216 216
    """Remove a block device.
217 217

  
218 218
    """
219
    devlist = [(objects.Disk.FromDict(ds), uid) for ds, uid in params]
219
    devlist = [(objects.Disk.FromDict(ds), uid) for ds, uid in params[0]]
220 220
    return backend.BlockdevRename(devlist)
221 221

  
222 222
  @staticmethod

Also available in: Unified diff