mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-18 18:38:08 -05:00
fix testserver in vault enterprise environment (#8358)
This commit is contained in:
parent
e1c0a1c959
commit
7dcb9d88a3
1 changed files with 5 additions and 1 deletions
|
|
@ -34,7 +34,11 @@ var (
|
|||
|
||||
pathToFiles = func() string {
|
||||
wd, _ := os.Getwd()
|
||||
pathParts := strings.Split(wd, "vault")
|
||||
repoName := "vault-enterprise"
|
||||
if !strings.Contains(wd, repoName) {
|
||||
repoName = "vault"
|
||||
}
|
||||
pathParts := strings.Split(wd, repoName)
|
||||
return pathParts[0] + "vault/serviceregistration/kubernetes/testing/"
|
||||
}()
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue