From b4671ca07953f72ee00072c071997931972489a7 Mon Sep 17 00:00:00 2001 From: "Harper, Jason M" Date: Mon, 3 Nov 2025 11:52:19 -0800 Subject: [PATCH] fix: handle empty model names in NIC summary output Signed-off-by: Harper, Jason M --- internal/report/table_helpers.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/report/table_helpers.go b/internal/report/table_helpers.go index 5d4eb51..c9d49bd 100644 --- a/internal/report/table_helpers.go +++ b/internal/report/table_helpers.go @@ -1754,6 +1754,9 @@ func nicSummaryFromOutput(outputs map[string]script.ScriptOutput) string { } var summary []string for model, count := range modelCount { + if model == "" { + model = "Unknown NIC" + } summary = append(summary, fmt.Sprintf("%dx %s", count, model)) } return strings.Join(summary, ", ")