From 6ddfaa5e95d1c7b6553af3c88d16ac806e0c5cb6 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Mon, 1 Feb 2021 14:28:28 +1100 Subject: [PATCH] cgroupfs: cpuset: fix broken build The merge 6eed6e579596 broke the build because ab27e12cebf1 ("Implement GetStat for cpuset cgroup.") dropped the errors import which was used by c85cd2b3254a ("libct/cg/fs/cpuset: don't parse mountinfo") and the CI wasn't retriggered. Fix this by just importing "github.com/pkg/errors" again. Signed-off-by: Aleksa Sarai --- libcontainer/cgroups/fs/cpuset.go | 1 + 1 file changed, 1 insertion(+) diff --git a/libcontainer/cgroups/fs/cpuset.go b/libcontainer/cgroups/fs/cpuset.go index cdbc7f326..5bde025b4 100644 --- a/libcontainer/cgroups/fs/cpuset.go +++ b/libcontainer/cgroups/fs/cpuset.go @@ -12,6 +12,7 @@ import ( "github.com/opencontainers/runc/libcontainer/cgroups" "github.com/opencontainers/runc/libcontainer/cgroups/fscommon" "github.com/opencontainers/runc/libcontainer/configs" + "github.com/pkg/errors" "golang.org/x/sys/unix" )