mirror of
https://github.com/containers/podman.git
synced 2025-10-13 09:15:20 +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:
@ -117,7 +117,7 @@ var _ = Describe("Podman stats", func() {
|
||||
session := podmanTest.RunTopContainer("")
|
||||
session.WaitWithDefaultTimeout()
|
||||
Expect(session).Should(ExitCleanly())
|
||||
for i := 0; i < 5; i++ {
|
||||
for range 5 {
|
||||
ps := podmanTest.Podman([]string{"ps", "-q"})
|
||||
ps.WaitWithDefaultTimeout()
|
||||
if len(ps.OutputToStringArray()) == 1 {
|
||||
|
Reference in New Issue
Block a user