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

use official Go client for DigitalOcean provider #3333

Merged
merged 1 commit into from
Oct 16, 2015

Conversation

aybabtme
Copy link
Contributor

This PR replaces usage of the github.com/pearkes/digitalocean package with the official Go client at github.com/digitalocean/godo.

}

// if droplet.IPV6Address("private") == "" {
// return fmt.Errorf("No ipv6 private: %s", droplet.IPV6Address("private"))
// }

if droplet.NetworkingType() != "private" {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i've removed this test because it does the same thing as the one above it (line 181):

if findIPv4AddrByType(droplet, "private") == "" {
    return fmt.Errorf("No ipv4 private: %s", findIPv4AddrByType(droplet, "private"))
}

@aybabtme
Copy link
Contributor Author

@radeksimko can I get some 👀 on this?

@ajlanghorn
Copy link
Contributor

Use of godo = 👍, especially since this hopefully gets new DO features in to Terraform quickly after they're released.

@bryanl
Copy link

bryanl commented Oct 14, 2015

@ajlanghorn Yes, that's the goal.

@apparentlymart
Copy link
Contributor

This looks awesome! Given that there is a release coming shortly I'm personally leaning towards holding off on this until after the release is cut since it's quite a broad change that might have unintended consequences for Terraform's DigitalOcean support. By merging it just after the release there will be some time for it to settle in on master before it gets included in the next release.

Does that seem reasonable or is there a driver here to merge this sooner rather than later?

@aybabtme
Copy link
Contributor Author

@apparentlymart is there a timeline for the release? One feature I'd like to add should come around by the end of the month. We can always add support for that feature a bit later after the new feature release, although I'd like to add it at the same time =].

@apparentlymart
Copy link
Contributor

@aybabtme I'm not on Hashicorp staff so the release process is not visible to me but I've seen @phinze and @catsby talk about doing a release within the next week or so. Since they're the ones driving the release train I'm going to let them make the call about whether to merge this in.

@catsby
Copy link
Contributor

catsby commented Oct 15, 2015

Hello friends –

Thanks for the contribution here!
Like @apparentlymart mentioned, we'd like to hold off on merging this until after the upcoming release, just to be safe, for all the reasons mentioned.

Thanks again, we're looking forward to more DO features coming after this merge 😄

After the release I'll swing back around and merge this.

@aybabtme
Copy link
Contributor Author

awesome! thanks @catsby and @apparentlymart

@phinze
Copy link
Contributor

phinze commented Oct 16, 2015

Alright the release is out so we are ready to merge this - thanks for your work on this @aybabtme!

phinze added a commit that referenced this pull request Oct 16, 2015
use official Go client for DigitalOcean provider
@phinze phinze merged commit 97cb207 into hashicorp:master Oct 16, 2015
@aybabtme aybabtme deleted the use-official-digitalocean-client branch October 25, 2015 16:16
bmcustodio pushed a commit to bmcustodio/terraform that referenced this pull request Sep 26, 2017
@ghost
Copy link

ghost commented Apr 30, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants