open-consul/agent/checks
R.B. Boyer a97d20cf63
catalog: compare node names case insensitively in more places (#12444)
Many places in consul already treated node names case insensitively.
The state store indexes already do it, but there are a few places that
did a direct byte comparison which have now been corrected.

One place of particular consideration is ensureCheckIfNodeMatches
which is executed during snapshot restore (among other places). If a
node check used a slightly different casing than the casing of the node
during register then the snapshot restore here would deterministically
fail. This has been fixed.

Primary approach:

    git grep -i "node.*[!=]=.*node" -- ':!*_test.go' ':!docs'
    git grep -i '\[[^]]*member[^]]*\]
    git grep -i '\[[^]]*\(member\|name\|node\)[^]]*\]' -- ':!*_test.go' ':!website' ':!ui' ':!agent/proxycfg/testing.go:' ':!*.md'
2022-02-24 16:54:47 -06:00
..
alias.go catalog: compare node names case insensitively in more places (#12444) 2022-02-24 16:54:47 -06:00
alias_test.go catalog: compare node names case insensitively in more places (#12444) 2022-02-24 16:54:47 -06:00
check.go add support for h2c in h2 ping health checks 2021-10-04 22:51:08 -04:00
check_test.go fix test 2021-10-05 00:48:09 -04:00
docker.go Sets tty in docker client back to true, as a potential fix for docker exec weirdness 2017-11-05 09:44:55 -06:00
docker_unix.go re-run gofmt on 1.17 (#11579) 2021-11-16 12:04:01 -06:00
docker_windows.go Decouple the code that executes checks from the agent 2017-10-25 11:18:07 +02:00
grpc.go Return grpc serving status in health check errors 2020-09-22 21:16:58 +03:00
grpc_test.go Add failures_before_warning to checks (#10969) 2021-09-14 12:47:52 -04:00