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

fix(dockerhub-migration): prevent duplicate migrated dockerhub entries EE-2042 (#6083)

* fix(migration) make dockerhub registry migration idempotent EE-2042

* add missing changes to make updateDockerhubToDB32 idempotent

* add tests for bad migrations
This commit is contained in:
Matt Hook 2021-11-17 13:21:09 +13:00 committed by GitHub
parent 761e102b2f
commit b280eb6997
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 154 additions and 2 deletions

View file

@ -1478,7 +1478,7 @@ const (
// APIVersion is the version number of the Portainer API
APIVersion = "2.9.3"
// DBVersion is the version number of the Portainer database
DBVersion = 33
DBVersion = 35
// ComposeSyntaxMaxVersion is a maximum supported version of the docker compose syntax
ComposeSyntaxMaxVersion = "3.9"
// AssetsServerURL represents the URL of the Portainer asset server