From ec5e91b8c97f02707a70a789ba4af84d51394ea5 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 25 Mar 2025 04:42:30 +0900 Subject: system: optimise string formatting Signed-off-by: Ophestra --- fst/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fst') diff --git a/fst/config.go b/fst/config.go index 7fc3af6c..866f7309 100644 --- a/fst/config.go +++ b/fst/config.go @@ -48,7 +48,7 @@ type ConfinementConfig struct { SessionBus *dbus.Config `json:"session_bus,omitempty"` // system resources to expose to the container - Enablements system.Enablements `json:"enablements"` + Enablements system.Enablement `json:"enablements"` } type ExtraPermConfig struct { @@ -153,7 +153,7 @@ func Template() *Config { Log: false, Filter: true, }, - Enablements: system.EWayland.Mask() | system.EDBus.Mask() | system.EPulse.Mask(), + Enablements: system.EWayland | system.EDBus | system.EPulse, }, } } -- cgit v1.3.1