agnet: Fix parsing of cas flag

This commit is contained in:
Armon Dadgar 2014-03-31 20:00:30 -07:00
parent ceb6964547
commit ca1c2d75b3
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ func (s *HTTPServer) KVSPut(resp http.ResponseWriter, req *http.Request, args *s
// Check for cas value
if _, ok := params["cas"]; ok {
casVal, err := strconv.ParseUint(params.Get("flags"), 10, 64)
casVal, err := strconv.ParseUint(params.Get("cas"), 10, 64)
if err != nil {
return nil, err
}