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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user