mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-09-27 10:02:10 +08:00
fix: missing setting the initializedMigrations variable for migration. This fixes a big where changing the configmap crashed the server.
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
|||||||
func initialize20201214133458() {
|
func initialize20201214133458() {
|
||||||
if _, ok := initializedMigrations[20201214133458]; !ok {
|
if _, ok := initializedMigrations[20201214133458]; !ok {
|
||||||
goose.AddMigration(Up20201214133458, Down20201214133458)
|
goose.AddMigration(Up20201214133458, Down20201214133458)
|
||||||
|
initializedMigrations[20201214133458] = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user