diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-03-21 14:00:58 +0100 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2022-03-30 15:36:05 -0400 |
commit | 9a3f3db6673a305181f63ab143fdf2b860097d15 (patch) | |
tree | 06056012d34716a6b2f94a3660b66d8ff20d2231 | |
parent | c28401fe0ac5676831821d63e8fcb81d0d84d51e (diff) | |
download | podman-9a3f3db6673a305181f63ab143fdf2b860097d15.tar.gz podman-9a3f3db6673a305181f63ab143fdf2b860097d15.tar.bz2 podman-9a3f3db6673a305181f63ab143fdf2b860097d15.zip |
libpod: drop warning for Fedora 31
drop a warning for runc not supporting cgroup v2 on Fedora 31.
[NO NEW TESTS NEEDED]
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r-- | libpod/container_internal.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index 51533b3bf..908b69f68 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -1087,13 +1087,6 @@ func (c *Container) init(ctx context.Context, retainRetries bool) error { // With the spec complete, do an OCI create if _, err = c.ociRuntime.CreateContainer(c, nil); err != nil { - // Fedora 31 is carrying a patch to display improved error - // messages to better handle the V2 transition. This is NOT - // upstream in any OCI runtime. - // TODO: Remove once runc supports cgroupsv2 - if strings.Contains(err.Error(), "this version of runc doesn't work on cgroups v2") { - logrus.Errorf("Oci runtime %q does not support Cgroups V2: use system migrate to mitigate", c.ociRuntime.Name()) - } return err } |