Revision e43a624e lib/server/noded.py
b/lib/server/noded.py | ||
---|---|---|
361 | 361 |
"""Grow a stack of devices. |
362 | 362 |
|
363 | 363 |
""" |
364 |
if len(params) < 4:
|
|
365 |
raise ValueError("Received only 3 parameters in blockdev_grow,"
|
|
366 |
" old master?") |
|
364 |
if len(params) < 5:
|
|
365 |
raise ValueError("Received only %s parameters in blockdev_grow,"
|
|
366 |
" old master?" % len(params))
|
|
367 | 367 |
cfbd = objects.Disk.FromDict(params[0]) |
368 | 368 |
amount = params[1] |
369 | 369 |
dryrun = params[2] |
Also available in: Unified diff