diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-07-25 00:43:22 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-07-25 00:45:10 +0900 |
| commit | e71ae3b8c5b4a8f103a078783fef2f56ee5450a2 (patch) | |
| tree | e6b7a87006563da8c360ca248e261a7fe7e2820f /system/dbus/proxy.go | |
| parent | 9d7a19d162e7003ce89804f00c526b77b2328baa (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'system/dbus/proxy.go')
| -rw-r--r-- | system/dbus/proxy.go | 5 |
1 files changed, 0 insertions, 5 deletions
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 } |
