mirror of https://github.com/portainer/portainer
chore(utils): remove dead code EE-4846 (#8253)
parent
3625ab6faa
commit
e529327851
|
@ -1,11 +0,0 @@
|
||||||
package utils
|
|
||||||
|
|
||||||
// Contains returns true if the given int is contained in the given slice of int.
|
|
||||||
func Contains(s []int, e int) bool {
|
|
||||||
for _, a := range s {
|
|
||||||
if a == e {
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
|
Loading…
Reference in New Issue