fix: return empty array instead of null for tagless volumes

This commit is contained in:
2026-06-22 04:47:29 -07:00
parent a489d523e3
commit 190c79487f
+1 -1
View File
@@ -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") {