mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
cosmetics
This commit is contained in:
@@ -138,10 +138,10 @@ func Migrate2(bboltDB, jsonDB TorrServerDB) error {
|
||||
if err = json.Unmarshal(b, &objectB); err == nil {
|
||||
return reflect.DeepEqual(objectA, objectB), nil
|
||||
} else {
|
||||
err = fmt.Errorf("Error unmashalling B: %s", err.Error())
|
||||
err = fmt.Errorf("error unmashalling B: %s", err.Error())
|
||||
}
|
||||
} else {
|
||||
err = fmt.Errorf("Error unmashalling A: %s", err.Error())
|
||||
err = fmt.Errorf("error unmashalling A: %s", err.Error())
|
||||
}
|
||||
return false, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user