mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
33a2d90852
* Fix a bug that wrongly trims domains when there is an overlap with DC name Before this change, when DC name and domain/alt-domain overlap, the domain name incorrectly trimmed from the query. Example: Given: datacenter = dc-test, alt-domain = test.consul. Querying for "test-node.node.dc-test.consul" will faile, because the code was trimming "test.consul" instead of just ".consul" This change, fixes the issue by adding dot (.) before trimming * trimDomain: ensure domain trimmed without modyfing original domains * update changelog --------- Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>
4 lines
100 B
Plaintext
4 lines
100 B
Plaintext
```release-note:bug
|
|
Fix a bug that wrongly trims domains when there is an overlap with DC name.
|
|
```
|