Clean up/make consistent the APIs for registering core components, make Docker an optional component at compile time (#1111)

This commit is contained in:
Owen Cliffe
2018-07-07 10:37:19 +01:00
committed by GitHub
parent cc468afeec
commit fff95e7992
15 changed files with 62 additions and 20 deletions

View File

@@ -70,5 +70,5 @@ func (sqliteHelper) IsDuplicateKeyError(err error) bool {
}
func init() {
dbhelper.Add(sqliteHelper(0))
dbhelper.Register(sqliteHelper(0))
}