Closed attermann closed 1 year ago
@attermann Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
@attermann Thank you for signing the Contributor License Agreement!
Thanks for the contribution. Added a test in 6378b72526f1205d7634d58b0d7e9645622f1410
Consul agent as of approximately v1.11.2 returns status code 404 on agent health check instead of status code 500. This change resulted in re-registration not taking place when expected. Adding status code 404 to the ReregistrationPredicate enables re-registration with both older and newer versions of Consul agent.