1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-21 06:19:41 +02:00
portainer/api/http/proxy/factory/kubernetes/pods.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
321 B
Go
Raw Normal View History

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)
}