comment tweaks

This commit is contained in:
Jeremy Jay 2014-07-18 14:54:29 -04:00
parent fb3e181a62
commit 923679b36c
3 changed files with 5 additions and 5 deletions

View file

@ -26,10 +26,9 @@ func Open(cfg *config.Config) graph.TripleStore {
ts, err := graph.NewTripleStore(cfg.DatabaseType, cfg.DatabasePath, cfg.DatabaseOptions)
if err != nil {
glog.Fatalln(err.Error())
return nil
}
// memstore is not persistent, so MUST be loaded
// Memstore is not persistent, so it MUST be loaded.
if cfg.DatabaseType == "memstore" {
Load(ts, cfg, cfg.DatabasePath)
}