aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-01-14 12:25:10 +0900
committerOphestra <cat@gensokyo.uk>2025-01-14 12:25:10 +0900
commit7d99e45b88deb3998542270b7f8469de5f25109a (patch)
treea216e53ff03f2988d3f2562a5d9f0566696ebc2f /helper
parent1651eb06df3fdbed9bd5bdea8736a1a817d7ab3b (diff)
helper/bwrap: register OverlayConfig with gob
This is required for copying bwrap configurations across processes. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper')
-rw-r--r--helper/bwrap/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/helper/bwrap/config.go b/helper/bwrap/config.go
index 6bac6ef7..c1ab37ca 100644
--- a/helper/bwrap/config.go
+++ b/helper/bwrap/config.go
@@ -9,6 +9,7 @@ import (
func init() {
gob.Register(new(PermConfig[SymlinkConfig]))
gob.Register(new(PermConfig[*TmpfsConfig]))
+ gob.Register(new(OverlayConfig))
}
type Config struct {