From bcfd894ba820dd9675c9b22407a3aa6840ab0af1 Mon Sep 17 00:00:00 2001 From: Yash Raj Singh <98258627+yrs147@users.noreply.github.com> Date: Fri, 26 Apr 2024 20:25:59 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B1Fix=20whitespace=20at=20end=20of=20?= =?UTF-8?q?storage=20vendor=20(#1278)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/services/baremetal/host/host.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/baremetal/host/host.go b/pkg/services/baremetal/host/host.go index c74ba152b..d03fe447b 100644 --- a/pkg/services/baremetal/host/host.go +++ b/pkg/services/baremetal/host/host.go @@ -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,