helper/bwrap: register OverlayConfig with gob
This is required for copying bwrap configurations across processes. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
1651eb06df
commit
7d99e45b88
@ -9,6 +9,7 @@ import (
|
|||||||
func init() {
|
func init() {
|
||||||
gob.Register(new(PermConfig[SymlinkConfig]))
|
gob.Register(new(PermConfig[SymlinkConfig]))
|
||||||
gob.Register(new(PermConfig[*TmpfsConfig]))
|
gob.Register(new(PermConfig[*TmpfsConfig]))
|
||||||
|
gob.Register(new(OverlayConfig))
|
||||||
}
|
}
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user