Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

add ec2.VpcAttribute and ec2.ModifyVpcAttribute #76

Merged
merged 1 commit into from
Aug 20, 2014

Conversation

deoxxa
Copy link
Contributor

@deoxxa deoxxa commented Aug 9, 2014

Does what it says on the box. I tried to keep the same idioms as the ModifyInstance function with the Set... fields. I think, long term, that they're a bad idea, but that's not a matter for right now. I don't know quite how to add tests, so I'd love it if someone gave me a bit of a rundown on how to go about doing that.

@pearkes
Copy link
Collaborator

pearkes commented Aug 20, 2014

Hey @deoxxa! The tests are are pretty straight forward...we basically mock XML and assert request data and response data. You can see a ton of examples of that in ec2/ec2_test.go, like right here. The corresponding XML is set here.

This looks good to me, though. If you can add tests in a follow-up PR that'd be great, in the meantime I'll merge it in.

pearkes added a commit that referenced this pull request Aug 20, 2014
add ec2.VpcAttribute and ec2.ModifyVpcAttribute
@pearkes pearkes merged commit 6a64b2b into mitchellh:master Aug 20, 2014
preflightsiren pushed a commit to preflightsiren/goamz that referenced this pull request Oct 27, 2014
add ec2.VpcAttribute and ec2.ModifyVpcAttribute
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