1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 13:29:41 +02:00
portainer/api/http/proxy/factory/kubernetes/pods.go
2023-07-10 23:26:54 -03:00

13 lines
321 B
Go

package kubernetes
import (
"net/http"
)
func (transport *baseTransport) proxyPodsRequest(request *http.Request, namespace, requestPath string) (*http.Response, error) {
if request.Method == http.MethodDelete {
transport.refreshRegistry(request, namespace)
}
return transport.executeKubernetesRequest(request)
}