mirror of https://github.com/portainer/portainer
fix(registry): ecr secret fix [EE-5673] (#10108)
parent
5e20854f86
commit
e6e3810fa4
|
@ -6,7 +6,7 @@ import (
|
||||||
|
|
||||||
func (transport *baseTransport) proxyDeploymentsRequest(request *http.Request, namespace, requestPath string) (*http.Response, error) {
|
func (transport *baseTransport) proxyDeploymentsRequest(request *http.Request, namespace, requestPath string) (*http.Response, error) {
|
||||||
switch request.Method {
|
switch request.Method {
|
||||||
case http.MethodPost, http.MethodPatch:
|
case http.MethodPost, http.MethodPatch, http.MethodPut:
|
||||||
transport.refreshRegistry(request, namespace)
|
transport.refreshRegistry(request, namespace)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue