V should be Item

This commit is contained in:
Patrick Mylund Nielsen 2012-01-02 14:44:50 +01:00
parent 746fe067c4
commit 99360acb31
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ func (c *cache) IncrementFloat(k string, n float64) error {
v, found := c.Items[k] v, found := c.Items[k]
if !found { if !found {
return fmt.Errorf("V not found") return fmt.Errorf("Item not found")
} }
t := reflect.TypeOf(v.Object) t := reflect.TypeOf(v.Object)