Skip to content

Commit

Permalink
actions/update: fixes incorrect slug comparision
Browse files Browse the repository at this point in the history
which would affect looking up the NIC update requirements
  • Loading branch information
joelrebel committed Aug 21, 2024
1 parent aefe111 commit 22957b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 22957b5

Please sign in to comment.