diff --git a/pkg/api/node.go b/pkg/api/node.go index bec2d22d2..5c4ed0460 100644 --- a/pkg/api/node.go +++ b/pkg/api/node.go @@ -178,5 +178,5 @@ func (m *nodeMetrics) NamespaceScoped() bool { // GetSingularName implements rest.SingularNameProvider interface func (m *nodeMetrics) GetSingularName() string { - return "node" + return "" } diff --git a/pkg/api/pod.go b/pkg/api/pod.go index 508ab2a8b..2cca539cc 100644 --- a/pkg/api/pod.go +++ b/pkg/api/pod.go @@ -185,5 +185,5 @@ func (m *podMetrics) NamespaceScoped() bool { // GetSingularName implements rest.SingularNameProvider interface func (m *podMetrics) GetSingularName() string { - return "pod" + return "" }