Skip to content

Commit

Permalink
Merge pull request #5430 from spiritNO1/fix_aggregated
Browse files Browse the repository at this point in the history
fix: aggregate apiserver http method to get
  • Loading branch information
karmada-bot authored Sep 6, 2024
2 parents 136e268 + 48b03df commit 32c2ef7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/registry/cluster/storage/aggregate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32c2ef7

Please sign in to comment.