summaryrefslogtreecommitdiff
path: root/libpod/container_internal_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container_internal_unsupported.go')
-rw-r--r--libpod/container_internal_unsupported.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpod/container_internal_unsupported.go b/libpod/container_internal_unsupported.go
new file mode 100644
index 000000000..015536850
--- /dev/null
+++ b/libpod/container_internal_unsupported.go
@@ -0,0 +1,7 @@
+// +build !linux
+
+package libpod
+
+func (c *Container) cleanupCgroups() error {
+ return ErrOSNotSupported
+}