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
Describe the bug
The example commands shown for block-storage to create a new instance show region and block-type enclosed in apostrophe's but they are not needed.
When using the compiled release 3.4.0 of vultr-cli for windows (amd64) the examples shown are misleading. Running a command to create new block storage device using the included example returns the error:
Error: error creating block storage : {"error":"Unable to add block storage: Block type does not exist. Available types are: high_perf, storage_opt, storage_dev","status":400}
Create a new block storage resource in a specified region
Usage:
vultr-cli block-storage create [flags]
Aliases:
create, c
Examples:
#Full example
vultr-cli block-storage create --region='lax' --size=10 --label='your-label'
#Full example with block-type
vultr-cli block-storage create --region='lax' --size=10 --block-type='high_perf'
#Shortened with aliased commands
vultr-cli bs c -r='lax' -s=10 -l='your-label'
#Shortened with aliased commands and block-type
vultr-cli bs c -r='lax' -s=10 -b='high_perf'
Expected behavior
The examples are expected to be correct. However, using the provided examples returns error messages and doesn't create the requested resource.
Using the command without apostrophe's works as expected.
Describe the bug
The example commands shown for block-storage to create a new instance show region and block-type enclosed in apostrophe's but they are not needed.
When using the compiled release 3.4.0 of vultr-cli for windows (amd64) the examples shown are misleading. Running a command to create new block storage device using the included example returns the error:
vultr-cli block-storage create --region=sgp --size=40 --label='new-volume' --block-type='storage_opt'
vultr-cli block-storage create --region='sgp' --size=40 --label='new-volume' --block-type=storage_opt
To Reproduce
C:\Users\example\vultr-cli_v3.4.0_windows_amd64>vultr-cli block-storage create --help
Create a new block storage resource in a specified region
Usage:
vultr-cli block-storage create [flags]
Aliases:
create, c
Examples:
Expected behavior
The examples are expected to be correct. However, using the provided examples returns error messages and doesn't create the requested resource.
Using the command without apostrophe's works as expected.
vultr-cli block-storage create --region=sgp --size=10 --block-type=high_perf
Desktop (please complete the following information where applicable:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: