mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 14:59:41 +02:00
* add stacktrace when recovering a panic * add logging to the migrations * use string format * add context around why we return stacktrace
12 lines
378 B
Go
12 lines
378 B
Go
package migrator
|
|
|
|
func (m *Migrator) migrateDBVersionToDB35() error {
|
|
// These should have been migrated already, but due to an earlier bug and a bunch of duplicates,
|
|
// calling it again will now fix the issue as the function has been repaired.
|
|
migrateLog.Info("Updating dockerhub registries")
|
|
err := m.updateDockerhubToDB32()
|
|
if err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|