diff options
| -rw-r--r-- | helper/bwrap/config.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/helper/bwrap/config.go b/helper/bwrap/config.go index f62cc24e..0aad6de0 100644 --- a/helper/bwrap/config.go +++ b/helper/bwrap/config.go @@ -1,10 +1,16 @@ package bwrap import ( + "encoding/gob" "os" "strconv" ) +func init() { + gob.Register(new(PermConfig[SymlinkConfig])) + gob.Register(new(PermConfig[*TmpfsConfig])) +} + type Config struct { // unshare every namespace we support by default if nil // (--unshare-all) |
