You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current behaviour when passing a value lower than 500 for bucket size is to ask this question:
Warning: The minimum size to create an object store is 500 GB. Would you like to create an object store of 500 GB? (y/n) ?
There are some issues with this approach
It doesn't respect the --yes flag:
% civo bucket create --yes --size 50 test-ticket
Warning: The minimum size to create an object store is 500 GB. Would you like to create an object store of 500 GB? (y/n) ?
It should perhaps fail without asking anything.
If this command was part of a script, it would halt execution, if it fails, it's better.
The help of the command needs to make it explicit that the minimum is 500, default is not the same as minimum, it should perhaps say default/minimum
-s, --size int Size of the Object store (default 500)
Acceptance criteria
There are two ways to tackle this
Fail lower values with a message that the minimum is 500, also change the help to explicitly say that the minimum is 500 --> preferred
Respect the --yes flag, and also change the help to explicitly say the minimum is 500
Automatically ignore lower values and assign 500 GBs, provide a warning when doing so --> This may give users the illusion they are paying less than they will if they are not paying attention, so perhaps not the best course of action.
The text was updated successfully, but these errors were encountered:
Issue
The current behaviour when passing a value lower than 500 for bucket size is to ask this question:
There are some issues with this approach
--yes
flag:If this command was part of a script, it would halt execution, if it fails, it's better.
default/minimum
Acceptance criteria
There are two ways to tackle this
--yes
flag, and also change the help to explicitly say the minimum is 500The text was updated successfully, but these errors were encountered: