mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
Backport some OSS changes (#10267)
* Backport some OSS changes * go mod vendor
This commit is contained in:
@@ -362,6 +362,7 @@ func TestPredict_Plugins(t *testing.T) {
|
||||
"influxdb-database-plugin",
|
||||
"jwt",
|
||||
"kerberos",
|
||||
"keymgmt",
|
||||
"kmip",
|
||||
"kubernetes",
|
||||
"kv",
|
||||
@@ -409,6 +410,14 @@ func TestPredict_Plugins(t *testing.T) {
|
||||
|
||||
act := p.plugins()
|
||||
|
||||
if !strutil.StrListContains(act, "keymgmt") {
|
||||
for i, v := range tc.exp {
|
||||
if v == "keymgmt" {
|
||||
tc.exp = append(tc.exp[:i], tc.exp[i+1:]...)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
if !strutil.StrListContains(act, "kmip") {
|
||||
for i, v := range tc.exp {
|
||||
if v == "kmip" {
|
||||
|
||||
Reference in New Issue
Block a user