mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(registry): ecr secret fix [EE-5673] (#10107)
This commit is contained in:
parent
be85d34c4b
commit
c0ba221021
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue