From e71ae3b8c5b4a8f103a078783fef2f56ee5450a2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 25 Jul 2025 00:43:22 +0900 Subject: container: remove custom cmd initialisation This part of the interface is very unintuitive and only used for testing, even in testing it is inelegant and can be done better. Signed-off-by: Ophestra --- system/dbus/proxy.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'system/dbus/proxy.go') diff --git a/system/dbus/proxy.go b/system/dbus/proxy.go index 8fed8f27..2f625f68 100644 --- a/system/dbus/proxy.go +++ b/system/dbus/proxy.go @@ -4,7 +4,6 @@ import ( "context" "fmt" "io" - "os/exec" "sync" "syscall" @@ -37,10 +36,6 @@ type Proxy struct { useSandbox bool name string - CmdF func(any) - - CommandContext func(ctx context.Context) (cmd *exec.Cmd) - FilterF func([]byte) []byte mu, pmu sync.RWMutex } -- cgit v1.3.1