Skip to content

Commit

Permalink
🌱Fix whitespace at end of storage vendor (#1278)
Browse files Browse the repository at this point in the history
  • Loading branch information
yrs147 authored Apr 26, 2024
1 parent acc548a commit bcfd894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/baremetal/host/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ func obtainHardwareDetailsStorage(sshClient sshclient.Client) ([]infrav1.Storage
Name: storage.Name,
SizeBytes: infrav1.Capacity(sizeBytes),
SizeGB: capacityGB,
Vendor: storage.Vendor,
Vendor: strings.TrimSpace(storage.Vendor),
Model: storage.Model,
SerialNumber: storage.SerialNumber,
WWN: storage.WWN,
Expand Down

0 comments on commit bcfd894

Please sign in to comment.