diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-16 02:06:41 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-16 02:06:41 +0900 |
| commit | 8dd3e1ee5d10c150f58e3b49771d3ca847f6d4cf (patch) | |
| tree | 08c0c6812d34da419cd06323073989fb7b8d0c21 /internal/app/app_nixos_linux_test.go | |
| parent | 4ffeec3004607b76f73e504da220a1490c598348 (diff) | |
hst/fs: rename method Target to Path
This allows adapter structs to use the same field names as Op structs.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/app_nixos_linux_test.go')
| -rw-r--r-- | internal/app/app_nixos_linux_test.go | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/internal/app/app_nixos_linux_test.go b/internal/app/app_nixos_linux_test.go index d762ca0c..16ac2a23 100644 --- a/internal/app/app_nixos_linux_test.go +++ b/internal/app/app_nixos_linux_test.go @@ -29,17 +29,17 @@ var testCasesNixos = []sealTestCase{ Container: &hst.ContainerConfig{ Userns: true, Net: true, MapRealUID: true, Env: nil, AutoEtc: true, Filesystem: []hst.FilesystemConfigJSON{ - f(&hst.FSBind{Src: m("/bin")}), - f(&hst.FSBind{Src: m("/usr/bin/")}), - f(&hst.FSBind{Src: m("/nix/store")}), - f(&hst.FSBind{Src: m("/run/current-system")}), - f(&hst.FSBind{Src: m("/sys/block"), Optional: true}), - f(&hst.FSBind{Src: m("/sys/bus"), Optional: true}), - f(&hst.FSBind{Src: m("/sys/class"), Optional: true}), - f(&hst.FSBind{Src: m("/sys/dev"), Optional: true}), - f(&hst.FSBind{Src: m("/sys/devices"), Optional: true}), - f(&hst.FSBind{Src: m("/run/opengl-driver")}), - f(&hst.FSBind{Src: m("/dev/dri"), Device: true, Optional: true}), + f(&hst.FSBind{Source: m("/bin")}), + f(&hst.FSBind{Source: m("/usr/bin/")}), + f(&hst.FSBind{Source: m("/nix/store")}), + f(&hst.FSBind{Source: m("/run/current-system")}), + f(&hst.FSBind{Source: m("/sys/block"), Optional: true}), + f(&hst.FSBind{Source: m("/sys/bus"), Optional: true}), + f(&hst.FSBind{Source: m("/sys/class"), Optional: true}), + f(&hst.FSBind{Source: m("/sys/dev"), Optional: true}), + f(&hst.FSBind{Source: m("/sys/devices"), Optional: true}), + f(&hst.FSBind{Source: m("/run/opengl-driver")}), + f(&hst.FSBind{Source: m("/dev/dri"), Device: true, Optional: true}), }, }, SystemBus: &dbus.Config{ |
