1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

fix(swarm): don't stomp on the x-registry-auth header EE-3308 (#7080)

* don't stomp on the x-registry-auth header

* del header if empty json provided for registry auth
This commit is contained in:
Matt Hook 2022-06-16 09:53:58 +12:00 committed by GitHub
parent 461fc91446
commit 6d6c70a98b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

View file

@ -23,7 +23,7 @@ type (
}
portainerRegistryAuthenticationHeader struct {
RegistryId portainer.RegistryID `json:"registryId"`
RegistryId *portainer.RegistryID `json:"registryId"`
}
)