vultr / vultr-cli

Official command line tool for Vultr services
Apache License 2.0
469 stars 75 forks source link

Fix incorrect govultr delete method for VPC2 #426

Closed optik-aper closed 4 months ago

optik-aper commented 4 months ago

Description

Fix incorrect govultr delete method for VPC2. Previously this error was thrown on any and all VPC2 deletes:

Error: error deleting vpc2 : {"error":"Invalid private network ID.","status":404}
exit status 1

Testing instructions

Make sure a VPC2 can be deleted

go run main.go vpc2 delete UUID_HERE

Related Issues

Fixes #424

Checklist:

github-actions[bot] commented 4 months ago

Unit Tests and Coverage

Show Output ``` ? github.com/vultr/vultr-cli/v3 [no test files] ```

Pusher: @optik-aper, Action: pull_request_target