From 1a7996f5b77c6fc4b557fdf04936522d7594400d Mon Sep 17 00:00:00 2001 From: Joel Rebello Date: Tue, 20 Aug 2024 17:43:49 +0200 Subject: [PATCH] actions/update: fixes incorrect slug comparision which would affect looking up the NIC update requirements --- actions/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/update.go b/actions/update.go index 204b1cf7..a1cf467b 100644 --- a/actions/update.go +++ b/actions/update.go @@ -79,7 +79,7 @@ func UpdateRequirements(componentSlug, componentVendor, componentModel string) ( slug := strings.ToUpper(componentSlug) vendor := common.FormatVendorName(componentVendor) - switch componentSlug { + switch slug { case common.SlugNIC: updater, err := GetNICUpdater(vendor) if err != nil {