aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/qemu.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-26 16:20:16 +0900
committerOphestra <cat@gensokyo.uk>2026-03-26 16:23:15 +0900
commit2548a681e9a1e28c52805397edeccf719ec8ab45 (patch)
tree06202347c5762d8c1e05e4cc668829e633411d2c /internal/rosa/qemu.go
parentd514d0679fcd947cd10f7ba9d0418855515c19d5 (diff)
internal/rosa: key-value type
This type is used very frequently. The new type is much easier to type and can receive helper methods eventually if needed. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/qemu.go')
-rw-r--r--internal/rosa/qemu.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/qemu.go b/internal/rosa/qemu.go
index 3472b6ef..40e95c8a 100644
--- a/internal/rosa/qemu.go
+++ b/internal/rosa/qemu.go
@@ -12,7 +12,7 @@ func (t Toolchain) newQEMU() (pkg.Artifact, string) {
mustDecode(checksum),
pkg.TarBzip2,
), &PackageAttr{
- Patches: [][2]string{
+ Patches: []KV{
{"disable-mcast-test", `diff --git a/tests/qtest/netdev-socket.c b/tests/qtest/netdev-socket.c
index b731af0ad9..b5cbed4801 100644
--- a/tests/qtest/netdev-socket.c
@@ -58,7 +58,7 @@ _notrun 'appears to spuriously fail on zfs'
EOF
`,
}, &MakeHelper{
- Configure: [][2]string{
+ Configure: []KV{
{"disable-download"},
{"disable-docs"},