From 190c79487f12f5368a7b0c8641166b6551583a66 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Mon, 22 Jun 2026 04:47:29 -0700 Subject: [PATCH] fix: return empty array instead of null for tagless volumes --- extract.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract.go b/extract.go index 2ac9953..741d056 100644 --- a/extract.go +++ b/extract.go @@ -236,7 +236,7 @@ func listTags(isoPath, part, volName string) ([]TagInfo, error) { func parseTags(output string) []TagInfo { reTag := regexp.MustCompile(`^\s*(\d+)\s+(\S.*)`) - var tags []TagInfo + tags := []TagInfo{} inTags := false for _, line := range strings.Split(output, "\n") {