From 8bd470f0da9ab08beea593580adf01644f39d7bb Mon Sep 17 00:00:00 2001 From: "eoghan.russell@intel.com" Date: Tue, 26 Oct 2021 04:06:07 -0400 Subject: [PATCH] Changing how the warning is logged --- cmd/sriovdp/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/sriovdp/manager.go b/cmd/sriovdp/manager.go index dfb1b435e..0fe0dc607 100644 --- a/cmd/sriovdp/manager.go +++ b/cmd/sriovdp/manager.go @@ -149,7 +149,7 @@ func (rm *resourceManager) excludeAllocatedDevices(filteredDevices []types.PciDe deviceAllocated[dev.GetPciAddr()] = true filteredDevicesTemp = append(filteredDevicesTemp, dev) } else { - glog.Infof("Warning: Cannot add PCI Address [%s]. Already allocated.", dev.GetPciAddr()) + glog.Warningf("Cannot add PCI Address [%s]. Already allocated.", dev.GetPciAddr()) } } return filteredDevicesTemp