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

helper/schema: GetChange shouldn't return true when no change #990

Merged
merged 1 commit into from
Feb 18, 2015

Conversation

mitchellh
Copy link
Contributor

Fixes #927

GetChange in helper/schema was just completely broken in some cases. This change seemed sketchy but nothing is failing and #927 is definitely fixed. I don't know why that getSourceExact was there before but I have a feeling it was likely due to weird behavior before my FieldReader refactor.

@phinze
Copy link
Contributor

phinze commented Feb 17, 2015

I don't know why that getSourceExact was there before but I have a feeling it was likely due to weird behavior before my FieldReader refactor.

Was changed explicitly in c755059 / #821 I'm reading that log right now.

@mitchellh
Copy link
Contributor Author

@philk Yeah, the weird thing is that test still passes.

@mitchellh
Copy link
Contributor Author

@phinze ^ I mean you.

Sorry @philk didn't mean to bring you in.

@phinze
Copy link
Contributor

phinze commented Feb 18, 2015

@mitchellh looks like past @mitchellh thought it was a good idea, and it was post FieldReader refactor.

This change LGTM generally, but you should double check with your past self to make sure there's nothing that strikes you. ⚡ 💡

@mitchellh
Copy link
Contributor Author

Thanks for digging that up. I guess I just didn't question that exact, I only commented on the state part. I'm going to go with it and hope acceptance tests pick something wonky up.

mitchellh added a commit that referenced this pull request Feb 18, 2015
helper/schema: GetChange shouldn't return true when no change
@mitchellh mitchellh merged commit faec39b into master Feb 18, 2015
@mitchellh mitchellh deleted the b-set-change branch February 18, 2015 00:17
@ghost
Copy link

ghost commented May 4, 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 May 4, 2020
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.

update of a route table clears entries
2 participants