summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional
diff options
context:
space:
mode:
authorSteve Martinelli <s.martinelli@gmail.com>2016-10-15 20:28:19 -0700
committerSteve Martinelli <s.martinelli@gmail.com>2016-10-15 20:29:54 -0700
commit82af038bb035008f4fb8928944710abedbf7694c (patch)
tree8059db5fff122b5b7823e8a4693112662b66583b /openstackclient/tests/functional
parent43d1646058a5faa917f2e7ed073c710180da8bd3 (diff)
downloadpython-openstackclient-82af038bb035008f4fb8928944710abedbf7694c.tar.gz
properly format error messages for volume resizing
The error messages are tuples and not substituting variables. Before: $ openstack volume set vol1 --size 1 Failed to set volume size: (u'New size must be greater than %s GB', 2) $ openstack volume set vol1 --size 1 Failed to set volume size: (u'Volume is in %s state, it must be available before size can be extended', u'error') After: $ openstack volume set vol2 --size 3 Failed to set volume size: New size must be greater than 4 GB $ openstack volume set vol2 --size 3 Failed to set volume size: Volume is in error state, it must be available before size can be extended Change-Id: Ide6e644b1c6d1c11a9dc2f3f53c1a1837380b8d5
Diffstat (limited to 'openstackclient/tests/functional')
0 files changed, 0 insertions, 0 deletions