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:
parent
3625ab6faa
commit
e529327851
1 changed files with 0 additions and 11 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue