mirror of https://github.com/hashicorp/consul
parent
6c1bb78d06
commit
81e1e1c05d
|
@ -1,9 +1,5 @@
|
|||
package lib
|
||||
|
||||
import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// StrContains checks if a list contains a string
|
||||
func StrContains(l []string, s string) bool {
|
||||
for _, v := range l {
|
||||
|
|
Loading…
Reference in New Issue