Skip to content

Commit

Permalink
OCPBUGS-13356: Fix 'vendor' root device hint evaluation (#5206)
Browse files Browse the repository at this point in the history
Co-authored-by: Zane Bitter <zbitter@redhat.com>
  • Loading branch information
openshift-cherrypick-robot and zaneb committed May 16, 2023
1 parent 4ead7e8 commit 084c6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/host/hostutil/host_utils.go
Expand Up @@ -200,7 +200,7 @@ func GetAcceptableDisksWithHints(disks []*models.Disk, hints *bmh_v1alpha1.RootD
continue
}

if hints.Vendor != "" && !strings.Contains(disk.Vendor, hints.Model) {
if hints.Vendor != "" && !strings.Contains(disk.Vendor, hints.Vendor) {
continue
}

Expand Down

0 comments on commit 084c6c4

Please sign in to comment.