Skip to content

Commit

Permalink
Map for otto extraction must be a map[string]interface{}
Browse files Browse the repository at this point in the history
cbugg: bug-618
  • Loading branch information
dustin committed May 22, 2013
1 parent f149848 commit dd2db74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reduction.go
Expand Up @@ -81,8 +81,8 @@ type statsResult struct {
count int
}

func (s statsResult) toMap() map[string]float64 {
return map[string]float64{
func (s statsResult) toMap() map[string]interface{} {
return map[string]interface{}{
"sum": s.sum,
"count": float64(s.count),
"min": s.min,
Expand Down

0 comments on commit dd2db74

Please sign in to comment.