Commit 64ef8ad6 authored by astaxie's avatar astaxie

fix new version for memcahe client

parent 6f2cd326
......@@ -19,7 +19,7 @@ func (rc *MemcacheCache) Get(key string) interface{} {
if rc.c == nil {
rc.c = rc.connectInit()
}
v, _, err := rc.c.Get(key)
v, err := rc.c.Get(key)
if err != nil {
return nil
}
......@@ -63,7 +63,7 @@ func (rc *MemcacheCache) IsExist(key string) bool {
if rc.c == nil {
rc.c = rc.connectInit()
}
v, _, err := rc.c.Get(key)
v, err := rc.c.Get(key)
if err != nil {
return false
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment