From 1a15caff9481e230ba7c47d9c1f33a99f423e15b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20Gagne=CC=81?= Date: Mon, 8 Jul 2013 19:19:10 -0400 Subject: [PATCH] Fix wrong method call for extend subcommand Ensure extend is called instead of extend_volume as the latter doesn't exist. Change-Id: I5a4ce5904dc73586a124f7bddebc8ffd30841980 --- cinderclient/v2/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index 6962ed956..98883d6ba 100644 --- a/cinderclient/v2/shell.py +++ b/cinderclient/v2/shell.py @@ -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)