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

provider/azurerm: Add azurerm_dns_zone resource #4979

Merged
merged 3 commits into from
Feb 3, 2016
Merged

Conversation

jen20
Copy link
Contributor

@jen20 jen20 commented Feb 3, 2016

This resource is the first which makes use of the new Riviera library (at https://github.com/jen20/riviera), so there is some additional set up work to add the provider to the client which gets passed among resources.

This resource is the first which makes use of the new Riviera library
(at https://github.com/jen20/riviera), so there is some additional set
up work to add the provider to the client which gets passed among
resources.
createResponse, err := createRequest.Execute()
if err != nil {
return fmt.Errorf("Error creating DNS Zone: %s", err)
} else if !createResponse.IsSuccessful() {
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe it's a bit more go-idiomatic to drop the else and just proceed with a second if

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct - I thought I had changed that already but apparently not. New commit pushed rectifying all the occurrences of this.

@stack72
Copy link
Contributor

stack72 commented Feb 3, 2016

This LGTM! This superceeds my PR #4662 so will close that

stack72 added a commit that referenced this pull request Feb 3, 2016
provider/azurerm: Add `azurerm_dns_zone` resource
@stack72 stack72 merged commit 255be73 into master Feb 3, 2016
@stack72 stack72 deleted the f-azurerm-dns-zone branch February 3, 2016 19:43
@ghost
Copy link

ghost commented Apr 28, 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 28, 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.

3 participants