Clean up some code -- reorganize some structs and unexport some consts.

This commit is contained in:
Eugene Bujak
2018-11-27 20:51:12 +03:00
parent ec7efcc9d6
commit 6cb991fe7f
3 changed files with 31 additions and 35 deletions

View File

@@ -45,7 +45,7 @@ func upgradeConfig() error {
return err
}
if schemaVersion == CurrentSchemaVersion {
if schemaVersion == currentSchemaVersion {
// do nothing
return nil
}