summaryrefslogtreecommitdiff
path: root/cinderclient/v1/shell.py
diff options
context:
space:
mode:
authorKurt Martin <kurt.f.martin@hpe.com>2015-11-03 15:13:20 -0800
committerKurt Martin <kurt.f.martin@hpe.com>2015-11-03 15:24:29 -0800
commitcb08ce33eb74cb95702081846280a194823d86ae (patch)
tree37c048e83b6ab1c69bd336e9ad15bcb56cd94a1b /cinderclient/v1/shell.py
parent6e860e6e18c216cc3cb887d326db13e475c8a829 (diff)
downloadpython-cinderclient-cb08ce33eb74cb95702081846280a194823d86ae.tar.gz
Fix volume size units to match the API
Both Horizon and the cinder client documents the size paramater in gigabyes(GBs) but the API docs(both v1 and v2) list the size units as gibibytes(GiBs). The correct unit should be gibibytes(GiBs). This should help in clearing up any confusion on what units are used in Cinder. Closes-bug: 1511167 Change-Id: I42e15c18d1f084d435a2be9b343fb2f6c3cf377f
Diffstat (limited to 'cinderclient/v1/shell.py')
-rw-r--r--cinderclient/v1/shell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cinderclient/v1/shell.py b/cinderclient/v1/shell.py
index 3896ac3..6049f03 100644
--- a/cinderclient/v1/shell.py
+++ b/cinderclient/v1/shell.py
@@ -214,7 +214,7 @@ def do_show(cs, args):
@utils.arg('size',
metavar='<size>',
type=int,
- help='Volume size, in GBs.')
+ help='Volume size, in GiBs.')
@utils.arg(
'--snapshot-id',
metavar='<snapshot-id>',
@@ -1039,7 +1039,7 @@ def do_transfer_show(cs, args):
@utils.arg('new_size',
metavar='<new-size>',
type=int,
- help='Size of volume, in GBs.')
+ help='Size of volume, in GiBs.')
@utils.service_type('volume')
def do_extend(cs, args):
"""Attempts to extend size of an existing volume."""