1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-31 10:07:22 +01:00

chore: fixes improvements with go1.22

This commit is contained in:
Amir Raminfar
2024-02-07 12:33:28 -08:00
parent 935d76e539
commit 11cde3d5fc

View File

@@ -65,7 +65,6 @@ func (s *ContainerStore) init(ctx context.Context) {
if containers, err := s.client.ListContainers(); err == nil {
for _, c := range containers {
c := c // create a new variable to avoid capturing the loop variable
s.containers.Store(c.ID, &c)
}
} else {