Permalink
Browse files

consumed capacity is a float

  • Loading branch information...
1 parent db213c6 commit 05dbc2c2b1e1099cbf02e2358f114e3e3b8c1dc8 @fabiokung committed Sep 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 dynamodb.go
View
@@ -44,7 +44,7 @@ func NewTable(name string, region *Region, awsAccessKeyId string,
return &Table{name, region, k, s, debugMode}
}
-func (t *Table) UpdateItem(key interface{}, item map[string]interface{}) (uint64, error) {
+func (t *Table) UpdateItem(key interface{}, item map[string]interface{}) (float64, error) {
k, err := NewField(key)
if err != nil {
return 0, err
@@ -66,7 +66,7 @@ func (t *Table) UpdateItem(key interface{}, item map[string]interface{}) (uint64
}
type UpdateItemResponse struct {
- ConsumedCapacityUnits uint64
+ ConsumedCapacityUnits float64
}
resp := new(UpdateItemResponse)

0 comments on commit 05dbc2c

Please sign in to comment.