Skip to content

Commit b4c955f

Browse files
authored
Merge pull request #3268 from Creatone/creatone/fix-nvm-no-devices
nvm: Decrease the "no nvm devices" warning log.
2 parents 2062bf5 + e5df899 commit b4c955f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nvm/machine_libipmctl.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func init() {
4848
}
4949

5050
// getAvgPowerBudget retrieves configured power budget
51-
// (in watts) for NVM devices. When libipmct is not available
51+
// (in watts) for NVM devices. When libipmctl is not available
5252
// zero is returned.
5353
func getAvgPowerBudget() (uint, error) {
5454
// Get number of devices on the platform
@@ -61,7 +61,7 @@ func getAvgPowerBudget() (uint, error) {
6161
}
6262

6363
if count == 0 {
64-
klog.Warningf("There are no NVM devices!")
64+
klog.V(1).Infof("There are no NVM devices.")
6565
return uint(0), nil
6666
}
6767

0 commit comments

Comments
 (0)