Remove unneeded Err field in the store result struct (#16322)

* Remove unneeded Err field in the store result struct

* Fixing references to old errors in the tests
Этот коммит содержится в:
Jesús Espino
2020-11-23 09:26:01 +01:00
коммит произвёл GitHub
родитель c54ab6da21
Коммит 9ec09c2bcd
3 изменённых файлов: 19 добавлений и 20 удалений

Просмотреть файл

@@ -14,7 +14,6 @@ import (
type StoreResult struct {
Data interface{}
Err *model.AppError
// NErr a temporary field used by the new code for the AppError migration. This will later become Err when the entire store is migrated.
NErr error