parent
2d4c07b56d
commit
4c3f5109eb
3 changed files with 31 additions and 12 deletions
|
|
@ -28,12 +28,5 @@ func Open(cfg *config.Config) (graph.TripleStore, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
if !graph.IsPersistent(cfg.DatabaseType) {
|
||||
err = Load(ts, cfg, cfg.DatabasePath)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
return ts, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue