Migrate System store to Sync by default (#10838)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3e6fed8df4
Коммит
f8a89a52fc
@@ -36,7 +36,7 @@ func MakeMigrationsList() []string {
|
||||
}
|
||||
|
||||
func GetMigrationState(migration string, store store.Store) (string, *model.Job, *model.AppError) {
|
||||
if result := <-store.System().GetByName(migration); result.Err == nil {
|
||||
if _, err := store.System().GetByName(migration); err == nil {
|
||||
return MIGRATION_STATE_COMPLETED, nil, nil
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user