Fix wrong method call for extend subcommand

Ensure extend is called instead of extend_volume
as the latter doesn't exist.

Change-Id: I5a4ce5904dc73586a124f7bddebc8ffd30841980
This commit is contained in:
Mathieu Gagné
2013-07-08 19:19:10 -04:00
parent a3985eeb63
commit 1a15caff94

View File

@@ -915,4 +915,4 @@ def do_transfer_show(cs, args):
def do_extend(cs, args):
"""Attempt to extend the size of an existing volume."""
volume = _find_volume(cs, args.volume)
cs.volumes.extend_volume(volume, args.new_size)
cs.volumes.extend(volume, args.new_size)