mirror of https://github.com/hashicorp/consul
Browse Source
This PR fixes GH-2212 in the most backwards-compatible way I can think of. If the user does not pass a value for `?passing`, it's assumed to be true, which mirrors the current behavior. However, if the user passes any value for passing, that value is parsed as a bool using strconv. It's important to note that this is technically a breaking change. Previously using `?passing=false` would return only passing nodes. While this behavior is obviously incorrect, it was the previous behavior. We should call this out very clearly in the CHANGELOG.pull/3136/head
Seth Vargo
8 years ago
2 changed files with 87 additions and 15 deletions
Loading…
Reference in new issue