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

Correct expected status code for deregistration #48

Merged
merged 1 commit into from
Sep 27, 2016

Conversation

seh
Copy link
Contributor

@seh seh commented Sep 19, 2016

Per the Eureka documentation and the implementation in method com.netflix.eureka.resources.InstanceResource#cancelLease(), Eureka returns HTTP status code 200 to indicate successful deregistration of an instance, and not status code 204 as our EurekaConnection'sDeregisterInstance method had expected.

This change was originally proposed as part of #47.

Per the Eureka documentation and the implementation in method
com.netflix.eureka.resources.InstanceResource#cancelLease(), Eureka
returns HTTP status code 200 to indicate successful deregistration of an
instance, and not status code 204 as our EurekaConnection's
DeregisterInstance method had expected.
@seh
Copy link
Contributor Author

seh commented Sep 23, 2016

Who is responsible for merging this one?

@damtur damtur merged commit 1fc2cae into hudl:master Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants