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

fix header comparison causing spurious http checks #171

Merged
merged 1 commit into from
Oct 12, 2022

Conversation

eikenb
Copy link
Contributor

@eikenb eikenb commented Oct 11, 2022

Consul modifies (adds headers) the header map on the cached version which makes it always fail the comparison (DeepEqual) test. This fixes the comparison to ignore the fields Consul adds.

Fixes #158

Consul modifies (adds headers) the header map on the cached version
which makes it always fail the comparison (DeepEqual) test. This fixes
the comparison to ignore the fields Consul adds.
@eikenb eikenb added this to the v0.7.0 milestone Oct 11, 2022
@eikenb eikenb requested a review from a team October 11, 2022 23:21
@eikenb eikenb merged commit e603bf4 into main Oct 12, 2022
@eikenb eikenb deleted the spurious-http-checks branch October 12, 2022 17:59
@eikenb eikenb modified the milestones: v0.7.0, v0.6.2 Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spurious HTTP Check updates
1 participant