mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-12 00:13:45 +02:00
Co-authored-by: Scott Miller <smiller@hashicorp.com>
This commit is contained in:
parent
2f5b0b4f3a
commit
23eec51fc1
@ -8321,3 +8321,7 @@ func TestBackend_IDNWithWildcards_AltNames(t *testing.T) {
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func stringSliceContainsAny(sl []string, substr string) bool {
|
||||
return slices.ContainsFunc(sl, func(s string) bool { return strings.Contains(s, substr) })
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user