From 0357d38f1ebe2b8e75c1fc92da78dbaafd5e760a Mon Sep 17 00:00:00 2001 From: Miles Garnsey Date: Wed, 21 Aug 2024 18:33:58 +0200 Subject: [PATCH] Make sure we're using POST as method. --- pkg/httphelper/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/httphelper/client.go b/pkg/httphelper/client.go index fa23c347..3bcc5016 100644 --- a/pkg/httphelper/client.go +++ b/pkg/httphelper/client.go @@ -600,7 +600,7 @@ func (client *NodeMgmtClient) CallTSReloadEndpoint(pod *corev1.Pod) error { endpoint: "/api/v0/ops/node/reload-truststore", host: podHost, port: podPort, - method: http.MethodGet, + method: http.MethodPost, timeout: 60 * time.Second, }