mirror of https://github.com/hashicorp/consul
parent
1b551456bd
commit
088e3ee26b
|
@ -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