Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

consumed capacity is a float

  • Loading branch information...
commit 05dbc2c2b1e1099cbf02e2358f114e3e3b8c1dc8 1 parent db213c6
@fabiokung authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 dynamodb.go
View
4 dynamodb.go
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.