Andrey Smirnov 1a85c14a51 fix: avoid data race on CRI pod stop
Message:

```
WARNING: DATA RACE
Write at 0x00c000a9d4d0 by goroutine 154:
  github.com/talos-systems/talos/internal/pkg/cri.stopAndRemove.func1()
      /src/internal/pkg/cri/pods.go:188 +0x312
  golang.org/x/sync/errgroup.(*Group).Go.func1()
      /.cache/mod/golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57 +0x94

Previous write at 0x00c000a9d4d0 by goroutine 276:
  github.com/talos-systems/talos/internal/pkg/cri.stopAndRemove.func1()
      /src/internal/pkg/cri/pods.go:188 +0x312
  golang.org/x/sync/errgroup.(*Group).Go.func1()
      /.cache/mod/golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57 +0x94

```

This bug might lead to incorrect pod stop handling at worst.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2021-05-06 07:35:29 -07:00
..
2021-03-05 05:58:33 -08:00
2020-06-30 10:39:56 -07:00
2021-03-05 05:58:33 -08:00
2020-06-30 10:39:56 -07:00
2020-06-30 10:39:56 -07:00
2021-05-06 07:35:29 -07:00