mirror of
https://github.com/containers/podman.git
synced 2025-10-15 10:16:28 +08:00
run modernize -fix ./...
Using golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize + some manual cleanup in libpod/lock/shm/shm_lock_test.go as it generated an unused variable + restored one removed comment Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -19,7 +19,7 @@ func TestStartAndStopMultipleRegistries(t *testing.T) {
|
||||
|
||||
// Start registries.
|
||||
var errors *multierror.Error
|
||||
for i := 0; i < 3; i++ {
|
||||
for range 3 {
|
||||
reg, err := StartWithOptions(registryOptions)
|
||||
if err != nil {
|
||||
errors = multierror.Append(errors, err)
|
||||
|
Reference in New Issue
Block a user