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

Add the ability to overide the DO API address. #90

Merged
merged 3 commits into from
Apr 23, 2018

Conversation

cagedmantis
Copy link
Contributor

No description provided.

@lxfontes
Copy link

lgtm

do/cloud.go Outdated
doClient := godo.NewClient(oauthClient)
doClient, err := godo.New(oauthClient, opts...)
if err != nil {
return nil, errors.New("failed to create godo client")
Copy link
Contributor

Choose a reason for hiding this comment

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

fmt.Errorf() to include the error in the return value

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. Would you like me to do the same for the dropletRegion call?

Copy link
Contributor

Choose a reason for hiding this comment

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

If you don't mind :)

@andrewsykim
Copy link
Contributor

lgtm, thanks for the clean up!

@cagedmantis cagedmantis merged commit eb8c52b into master Apr 23, 2018
@cagedmantis cagedmantis deleted the cagedmantis/overide-do-api-url branch April 23, 2018 16:50
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

Successfully merging this pull request may close these issues.

None yet

4 participants