Skip to content

Commit

Permalink
Merge 044943a into backport/fix/gh-15210/sockaddr-template-parsing-wh…
Browse files Browse the repository at this point in the history
…en-needed/gladly-immense-gar
  • Loading branch information
hc-github-team-secure-vault-core committed Apr 29, 2022
2 parents 596385c + 044943a commit 5f1f6fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions changelog/15210.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
```release-note:bug
core/config: Handle case where config contains a non-template format value, only parse when it follows the format:
{{ ... }}
core/config: Handle case where config contains a non-template format value, only parse when it follows the format: {{ ... }}
```
6 changes: 3 additions & 3 deletions internalshared/configutil/listener_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ func TestParseSingleIPTemplate(t *testing.T) {
wantErr assert.ErrorAssertionFunc
}{
{
name: "test non-template addr",
args: args{"vaultproject.io"},
want: "vaultproject.io",
name: "test https addr",
args: args{"https://vaultproject.io:8200"},
want: "https://vaultproject.io:8200",
wantErr: assert.NoError,
},
{
Expand Down

0 comments on commit 5f1f6fb

Please sign in to comment.