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 disabled property to firewall #1536

Merged
merged 2 commits into from
May 29, 2018

Conversation

danawillow
Copy link
Contributor

No description provided.

@danawillow danawillow requested a review from nat-henderson May 25, 2018 00:58
Copy link
Contributor

@nat-henderson nat-henderson left a comment

Choose a reason for hiding this comment

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

Do you think it'd be worth it to test an update?

@danawillow
Copy link
Contributor Author

Me, 6pm: Man, what a drag it is to write all these tests that only fail because the tests are wrong.
Me, 7pm: This API does not behave the way I thought it did, good thing I had a test.

🤦‍♀️

Anyway, the answer to your question is yes. Turns out the update method only supports updating certain fields, but patch lets you update any of them so I just used patch instead.

@danawillow danawillow merged commit 1af48cd into hashicorp:master May 29, 2018
@danawillow danawillow deleted the disable-firewall branch May 29, 2018 20:27
chrisst pushed a commit to chrisst/terraform-provider-google that referenced this pull request Nov 9, 2018
* add disabled property to firewall

* add test and change update to patch
@ghost
Copy link

ghost commented Nov 18, 2018

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants