Revision ddfe2228 daemons/ganeti-noded

b/daemons/ganeti-noded
214 214

  
215 215
    """
216 216
    disk = objects.Disk.FromDict(params[0])
217
    return backend.BlockdevFind(disk).ToDict()
217

  
218
    result = backend.BlockdevFind(disk)
219
    if result is None:
220
      return None
221

  
222
    return result.ToDict()
218 223

  
219 224
  @staticmethod
220 225
  def perspective_blockdev_snapshot(params):

Also available in: Unified diff