You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @shilov it looks like the "unknown" state is an old thing that was deprecated back in the 0.4.x series. We should probably just remove all references to it - it looks like it's only used in a dns_test.go unit test, and there's a reference in api/health.go. I'd be happy to take a PR if you are interested!
The API client returns an error when a service registration includes a health check with a status that is set to
unknown
Ex:
Returns this error (link to code):
That is because structs.ValidStatus(s string) does not consider "unknown" to be a valid status.
Is the intended behavior to allow
unknown
or does the error message need to be corrected to exclude it?Would be happy to make a pull request to implement the change if this is indeed invalid behavior.
The text was updated successfully, but these errors were encountered: