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