Skip to content

Commit

Permalink
fix non-deterministic etag error (CockroachDB)
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Corrêa <[email protected]>
  • Loading branch information
r-c-correa committed Mar 22, 2022
1 parent dfd7a94 commit de81c1e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions state/cockroachdb/cockroachdb_access.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ func (p *cockroachDBAccess) setValue(req *state.SetRequest) error {
}

if err != nil {
if req.ETag != nil && *req.ETag != "" {
return state.NewETagError(state.ETagMismatch, err)
}

return err
}

Expand Down

0 comments on commit de81c1e

Please sign in to comment.