From 7d99e45b88deb3998542270b7f8469de5f25109a Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 14 Jan 2025 12:25:10 +0900 Subject: [PATCH] helper/bwrap: register OverlayConfig with gob This is required for copying bwrap configurations across processes. Signed-off-by: Ophestra --- helper/bwrap/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/helper/bwrap/config.go b/helper/bwrap/config.go index 6bac6ef..c1ab37c 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 {