1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

chore(loops): remove loop var copy EE-7342 (#12023)

This commit is contained in:
andres-portainer 2024-07-09 12:47:34 -03:00 committed by GitHub
parent 6e7a42727a
commit 7fd1a644a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 61 additions and 48 deletions

View file

@ -18,9 +18,9 @@ func EdgeStackRelatedEndpoints(edgeGroupIDs []portainer.EdgeGroupID, endpoints [
var edgeGroup *portainer.EdgeGroup
for _, group := range edgeGroups {
group := group
if group.ID == edgeGroupID {
edgeGroup = &group
break
}
}