mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 02:02:43 +00:00
fix testserver in vault enterprise environment (#8358)
This commit is contained in:
@@ -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/"
|
||||
}()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user