gofumpt is a stricter version of gofmt, basically making the code more
readable, and fixing the gocritic's octalLiterar warnings like this one:
pkg/util/util_supported.go:26:17: octalLiteral: use new octal literal style, 0o722 (gocritic)
return (perm & 0722) == 0700
^
Generated by gofumpt -w .
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Basically Windows build is failing when hitting unix contants in
cgroups.
[NO NEW TESTS ADDED] Just shifting code around.
Added build-cross to cirrus tests, which looks like it was not being
run.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
on a busy system, the conmon process could take longer to complete or
to be reaped by the parent, leaving the cgroup busy. If the rmdir
fails with EBUSY, try again up to 5 seconds before reporting an
error.
Closes: https://github.com/containers/podman/issues/11946
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
at the moment the cgroups package is used only by Podman and by CRI-O
(that is already vendoring libpod). So let's simplify and not have a
duplicate here.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>