Skip to content

Commit

Permalink
Merge pull request #1882 from hashicorp/ent-test-cases
Browse files Browse the repository at this point in the history
[NET-7377] Consul ENT tests
  • Loading branch information
kkavish committed Feb 19, 2024
2 parents 6c83e89 + ccbe62e commit 073b7f2
Show file tree
Hide file tree
Showing 22 changed files with 3,143 additions and 1,727 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

NEW FEATURES:
* Add support for listing Consul peers [NET-6966](https://hashicorp.atlassian.net/browse/NET-6966)
* Add ENT test cases such that all unit tests could run on different combinations of namespace and partition [NET-7377](https://hashicorp.atlassian.net/browse/NET-7377)

BUG FIXES:
* Fetch services query not overriding opts correctly [NET-7571](https://hashicorp.atlassian.net/browse/NET-7571)
* All consul resources which support namespace and partition should also have namespace and partition in the key represented by `String` function.[NET-7571](https://hashicorp.atlassian.net/browse/NET-7571)
* Consul-template now correctly renders KVv2 secrets with `delete_version_after` set [NET-3777](https://hashicorp.atlassian.net/browse/NET-3777)

## v0.36.0 (January 3, 2024)
Expand Down
6 changes: 6 additions & 0 deletions dependency/catalog_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ func (d *CatalogNodeQuery) String() string {
if d.dc != "" {
name = name + "@" + d.dc
}
if d.partition != "" {
name = name + "@partition=" + d.partition
}
if d.namespace != "" {
name = name + "@ns=" + d.namespace
}

if name == "" {
return "catalog.node"
Expand Down

0 comments on commit 073b7f2

Please sign in to comment.