added handling for float attribute

This commit is contained in:
Todd Gruben 2017-02-01 16:29:48 -05:00 committed by Travis
parent 25e4a681bd
commit 0b4f640444

View file

@ -265,6 +265,8 @@ func txUpdateAttrs(tx *bolt.Tx, id uint64, m map[string]interface{}) (map[string
attr[k] = uint64(v)
case uint:
attr[k] = uint64(v)
case float64:
attr[k] = uint64(v)
case int64:
attr[k] = uint64(v)
case string, uint64, bool: