Destutter cayley/config

This commit is contained in:
kortschak 2014-06-28 12:42:15 +09:30
parent c4a19a4e35
commit 388618bfa7
6 changed files with 11 additions and 11 deletions

View file

@ -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":