mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(registry): sync config on change [EE-5460] (#8955)
This commit is contained in:
parent
d803d5f821
commit
61b568a738
4 changed files with 36 additions and 16 deletions
|
@ -119,6 +119,8 @@ func (handler *Handler) registryCreate(w http.ResponseWriter, r *http.Request) *
|
|||
Ecr: payload.Ecr,
|
||||
}
|
||||
|
||||
registry.ManagementConfiguration = syncConfig(registry)
|
||||
|
||||
registries, err := handler.DataStore.Registry().Registries()
|
||||
if err != nil {
|
||||
return httperror.InternalServerError("Unable to retrieve registries from the database", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue