cadvisor/machine/machine_no_libipmctl.go
Maciej Iwanowski 6dac5794f7
Retrieving NVM average power budget
Conflicts:
	info/v1/machine.go

Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@intel.com>
2020-03-13 10:56:38 +01:00

10 lines
233 B
Go

// +build !libipmctl
package machine
// GetNVMAvgPowerBudget retrieves configured power budget for NVM devices.
// When libipmct is not available zero is returned.
func GetNVMAvgPowerBudget() (uint, error) {
return uint(0), nil
}