Skip to content

Commit

Permalink
make sure we initialize the DefaultHandlerProperties -> ListenerConfi…
Browse files Browse the repository at this point in the history
…g in ClusterSetup (#23558)
  • Loading branch information
Peter Wilson authored Oct 6, 2023
1 parent e5432b0 commit 455a450
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helper/testhelpers/teststorage/teststorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import (
"os"
"time"

"github.com/hashicorp/vault/internalshared/configutil"

"github.com/hashicorp/go-hclog"
logicalKv "github.com/hashicorp/vault-plugin-secrets-kv"
"github.com/hashicorp/vault/audit"
Expand Down Expand Up @@ -242,6 +244,9 @@ func ClusterSetup(conf *vault.CoreConfig, opts *vault.TestClusterOptions, setup
}
localOpts := vault.TestClusterOptions{
HandlerFunc: vaulthttp.Handler,
DefaultHandlerProperties: vault.HandlerProperties{
ListenerConfig: &configutil.Listener{},
},
}
if opts != nil {
localOpts = *opts
Expand Down

0 comments on commit 455a450

Please sign in to comment.