1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

chore(utils): remove dead code EE-4846 (#8253)

This commit is contained in:
andres-portainer 2022-12-30 14:52:58 -03:00 committed by GitHub
parent 3625ab6faa
commit e529327851
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}