Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a VPC returns nil #250

Open
joaomarceloods opened this issue Aug 1, 2020 · 1 comment
Open

Creating a VPC returns nil #250

joaomarceloods opened this issue Aug 1, 2020 · 1 comment

Comments

@joaomarceloods
Copy link

Creating a VPC returns nil. I believe it should return at least the id of the newly-created VPC, so you can find it.

Snippet to reproduce:

require "droplet_kit"
client = DropletKit::Client.new(access_token: "your_token")
vpc = DropletKit::VPC.new(name: "example", region: "nyc3")
client.vpcs.create(vpc) # => nil

Using droplet_kit-3.8.0

@viola
Copy link
Contributor

viola commented Aug 3, 2020

@joaomarceloods thank you for letting us know about this issue, above PR is the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants