diff --git a/pkg/registry/cluster/storage/aggregate.go b/pkg/registry/cluster/storage/aggregate.go index 1a41ca5b43f0..1af8466d5c59 100644 --- a/pkg/registry/cluster/storage/aggregate.go +++ b/pkg/registry/cluster/storage/aggregate.go @@ -149,7 +149,8 @@ func requestWithResourceNameHandlerFunc( klog.Errorf("failed to get impersonateToken for cluster %s: %v", cluster.Name, err) return } - statusCode, err := doClusterRequest(req.Method, requestURLStr(location, proxyRequestInfo), transport, requester, impersonateToken) + statusCode, err := doClusterRequest(http.MethodGet, requestURLStr(location, proxyRequestInfo), transport, + requester, impersonateToken) if err != nil { klog.Errorf("failed to do request for cluster %s: %v", cluster.Name, err) return