Skip to content

Commit

Permalink
Merge pull request mattbaird#223 from chzyer-dev/master
Browse files Browse the repository at this point in the history
bulk api is not consistent with api doc
  • Loading branch information
weberr13 committed Aug 25, 2015
2 parents 52bbc48 + 49a12c9 commit 8f8c8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/corebulk.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func WriteBulkBytes(op string, index string, _type string, id, parent, ttl strin
}

if op == "update" {
buf.WriteString(`,"retry_on_conflict":3`)
buf.WriteString(`,"_retry_on_conflict":3`)
}

if len(ttl) > 0 {
Expand Down

0 comments on commit 8f8c8e8

Please sign in to comment.