Compare commits
1 commit
75a6b87671
...
d9c2fcd61a
Author | SHA1 | Date | |
---|---|---|---|
d9c2fcd61a |
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ func initStorage(conf *config.AppConfig) (storage.Storage, error) {
|
||||||
case "memory":
|
case "memory":
|
||||||
storageType = memory.New(logger.L)
|
storageType = memory.New(logger.L)
|
||||||
default:
|
default:
|
||||||
return storageType, fmt.Errorf("unsupported storage backend type: %s", conf.StorageType)
|
return storageType, fmt.Errorf("Unsupported storage backend type: %s", conf.StorageType)
|
||||||
}
|
}
|
||||||
return storageType, nil
|
return storageType, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue