Rename 'cpu' type to 'hwthread' to avoid naming clashes with MetricStore and CC-Webfrontend

This commit is contained in:
Thomas Roehl
2022-03-18 13:41:54 +01:00
parent c506114480
commit 07fe17c2d1
9 changed files with 24 additions and 19 deletions

View File

@@ -355,7 +355,7 @@ func getCpuListOfType(args ...interface{}) (interface{}, error) {
return getCpuListOfNumaDomainFunc(args[1])
case "core":
return getCpuListOfCoreFunc(args[1])
case "cpu":
case "hwthread":
var cpu int
switch id := args[1].(type) {