aboutsummaryrefslogtreecommitdiff
path: root/libpod/boltdb_state_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/boltdb_state_unsupported.go')
-rw-r--r--libpod/boltdb_state_unsupported.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/libpod/boltdb_state_unsupported.go b/libpod/boltdb_state_unsupported.go
new file mode 100644
index 000000000..97d59614e
--- /dev/null
+++ b/libpod/boltdb_state_unsupported.go
@@ -0,0 +1,19 @@
+//go:build !linux
+// +build !linux
+
+package libpod
+
+import (
+ "errors"
+)
+
+// replaceNetNS handle network namespace transitions after updating a
+// container's state.
+func replaceNetNS(netNSPath string, ctr *Container, newState *ContainerState) error {
+ return errors.New("replaceNetNS not supported on this platform")
+}
+
+// getNetNSPath retrieves the netns path to be stored in the database
+func getNetNSPath(ctr *Container) string {
+ return ""
+}