Skip to content

Commit 11cde3d

Browse files
committed
chore: fixes improvements with go1.22
1 parent 935d76e commit 11cde3d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/docker/container_store.go

-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ func (s *ContainerStore) init(ctx context.Context) {
6565

6666
if containers, err := s.client.ListContainers(); err == nil {
6767
for _, c := range containers {
68-
c := c // create a new variable to avoid capturing the loop variable
6968
s.containers.Store(c.ID, &c)
7069
}
7170
} else {

0 commit comments

Comments
 (0)