Rename cpu type to hwthread (#69)

* Rename 'cpu' type to 'hwthread' to avoid naming clashes with MetricStore and CC-Webfrontend
This commit is contained in:
Thomas Gruber
2022-05-13 14:09:45 +02:00
committed by GitHub
parent 0623691bab
commit 1db5f3b29a
10 changed files with 56 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) {