aboutsummaryrefslogtreecommitdiff
path: root/pkg/cgroups/cgroups_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/cgroups/cgroups_unsupported.go')
-rw-r--r--pkg/cgroups/cgroups_unsupported.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/cgroups/cgroups_unsupported.go b/pkg/cgroups/cgroups_unsupported.go
new file mode 100644
index 000000000..9dc196e42
--- /dev/null
+++ b/pkg/cgroups/cgroups_unsupported.go
@@ -0,0 +1,8 @@
+// +build !linux
+
+package cgroups
+
+// IsCgroup2UnifiedMode returns whether we are running in cgroup 2 cgroup2 mode.
+func IsCgroup2UnifiedMode() (bool, error) {
+ return false, nil
+}