c4aa33fb by astaxie

Merge pull request #1052 from dockercn/develop

Fix the wrong parameter bug in ledis session support cause build failure
2 parents 1c9898de 20cc5b26
......@@ -85,7 +85,7 @@ type LedisProvider struct {
func (lp *LedisProvider) SessionInit(maxlifetime int64, savePath string) error {
var err error
lp.maxlifetime = maxlifetime
configs := strings.Split(savepath, ",")
configs := strings.Split(savePath, ",")
if len(configs) == 1 {
lp.savePath = configs[0]
} else if len(configs) == 2 {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!