in api/v1beta1/teamcity_webhook.go [283:295]
func allElementsInOtherSlice(slice1 []string, slice2 []string) bool {
m := make(map[string]bool, len(slice2))
for _, item := range slice2 {
m[item] = true
}
for _, item := range slice1 {
if _, found := m[item]; !found {
return false
}
}
return true
}