Renaming variable in test.

This commit is contained in:
Renan DelValle 2020-01-17 09:43:34 -08:00
parent 74b488750d
commit bcd25c805a
No known key found for this signature in database
GPG key ID: 3895800E03F17676
2 changed files with 9 additions and 11 deletions

View file

@ -61,8 +61,7 @@ func capNode(base string, percentage int) error {
return nil
}
// maxPower returns the value in float of the maximum watts a power zone
// can use.
// maxPower returns the value in float of the maximum watts a power zone can use.
func maxPower(maxFile string) (uint64, error) {
maxPower, err := ioutil.ReadFile(maxFile)
if err != nil {