mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2026-01-08 13:11:55 +00:00
Get rid of sdk internal reloadutil package for now. (#9515)
This commit is contained in:
@@ -35,7 +35,6 @@ import (
|
||||
uuid "github.com/hashicorp/go-uuid"
|
||||
"github.com/hashicorp/vault/api"
|
||||
"github.com/hashicorp/vault/sdk/helper/consts"
|
||||
"github.com/hashicorp/vault/sdk/testing/internal/reloadutil"
|
||||
"github.com/hashicorp/vault/sdk/testing/stepwise"
|
||||
"golang.org/x/net/http2"
|
||||
)
|
||||
@@ -432,7 +431,7 @@ func (n *dockerClusterNode) setupCert() error {
|
||||
return err
|
||||
}
|
||||
|
||||
certGetter := reloadutil.NewCertificateGetter(n.ServerCertPEMFile, n.ServerKeyPEMFile, "")
|
||||
certGetter := stepwise.NewCertificateGetter(n.ServerCertPEMFile, n.ServerKeyPEMFile, "")
|
||||
if err := certGetter.Reload(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user