Log what storage type
parent
3a99bf5e33
commit
3701479b5f
|
|
@ -19,6 +19,7 @@ func NewStorage(args ...string) *Storage {
|
||||||
args = []string{"map"}
|
args = []string{"map"}
|
||||||
}
|
}
|
||||||
typed := storage.TypeFromString(args[0])
|
typed := storage.TypeFromString(args[0])
|
||||||
|
log.Println("Creating storage of type", typed)
|
||||||
args = args[1:]
|
args = args[1:]
|
||||||
db, err := storage.New(typed, args...)
|
db, err := storage.New(typed, args...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue