mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
e2e metrics: remove incorrect comment
The "should report resource usage through the resource metrics api" E2E test calls getResourceMetrics, which calls GrabKubeletMetricsWithoutProxy.
This commit is contained in:
parent
8c27313cfd
commit
7454c3ff81
@ -68,7 +68,6 @@ func NewKubeletMetrics() KubeletMetrics {
|
||||
}
|
||||
|
||||
// GrabKubeletMetricsWithoutProxy retrieve metrics from the kubelet on the given node using a simple GET over http.
|
||||
// Currently only used in integration tests.
|
||||
func GrabKubeletMetricsWithoutProxy(nodeName, path string) (KubeletMetrics, error) {
|
||||
resp, err := http.Get(fmt.Sprintf("http://%s%s", nodeName, path))
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user