Trivial Fix
Fill the omitted value argument for the formatting argument %(vol_id). Change-Id: I8e9aaa95a1e090dc76bee337a7099d94af0d53a7
This commit is contained in:
parent
17067e058e
commit
7cd0a7bdf6
@ -1188,7 +1188,8 @@ class API(base.Base):
|
||||
|
||||
result = volume.conditional_update(value, expected)
|
||||
if not result:
|
||||
msg = _('Volume %(vol_id)s status must be available to extend.')
|
||||
msg = _('Volume %(vol_id)s status must be available '
|
||||
'to extend.') % {'vol_id': volume.id}
|
||||
raise exception.InvalidVolume(reason=msg)
|
||||
|
||||
rollback = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user