Comment 0 for bug 1466062

Revision history for this message
zhongjun (jun-zhongjun) wrote : Delete redundant period and modify the description

--Delete redundant period in the command echo.
For example:
stack@ubuntu:~$ manila shrink ec0f881e-8343-4e6c-8839-16dfe7acaec1 0
ERROR: Invalid share: Share ec0f881e-8343-4e6c-8839-16dfe7acaec1 status must in (available, shrinking_possible_data_loss_error) to shrink, but current status is: shrinking_error..

stack@ubuntu:~$ manila extend ec0f881e-8343-4e6c-8839-16dfe7acaec1 0
ERROR: Invalid share: Share ec0f881e-8343-4e6c-8839-16dfe7acaec1 status must be 'available' to extend, but current status is: shrinking_error..

stack@ubuntu:~$ manila extend ec0f881e-8343-4e6c-8839-16dfe7acaec1 1
ERROR: Invalid input received: New size for extend must be greater than current size. (current: 4, extended: 1)..

stack@ubuntu:~$ manila shrink ec0f881e-8343-4e6c-8839-16dfe7acaec1 0
ERROR: Invalid input received: New size for shrink must be less than current size and greater than 0 (current: 4, new: 0).

--In order to keep consistent with the command prompt, change 'extended' to 'new' (current: 4, extended: 1).

stack@ubuntu:~$ manila extend ec0f881e-8343-4e6c-8839-16dfe7acaec1 1
ERROR: Invalid input received: New size for extend must be greater than current size. (current: 4, extended: 1)..

stack@ubuntu:~$ manila shrink ec0f881e-8343-4e6c-8839-16dfe7acaec1 0
ERROR: Invalid input received: New size for shrink must be less than current size and greater than 0 (current: 4, new: 0).