Destutter cayley/config
This commit is contained in:
parent
c4a19a4e35
commit
388618bfa7
6 changed files with 11 additions and 11 deletions
|
|
@ -24,7 +24,7 @@ import (
|
|||
"github.com/google/cayley/graph/mongo"
|
||||
)
|
||||
|
||||
func OpenTSFrom(cfg *config.CayleyConfig) graph.TripleStore {
|
||||
func OpenTSFrom(cfg *config.Config) graph.TripleStore {
|
||||
glog.Infof("Opening database \"%s\" at %s", cfg.DatabaseType, cfg.DatabasePath)
|
||||
switch cfg.DatabaseType {
|
||||
case "mongo", "mongodb":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue