Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

When storing a trigger, default to updating when replaceExisting is true #90

Merged
merged 1 commit into from Mar 20, 2015

Conversation

jacobsatelbrys
Copy link
Contributor

In NewRelic, we are seeing DuplicateKey errors even though they are being handled by this code. If we know we want to replace, let's just go ahead an update. This could even be an upsert and we would not need to have the boolean, but why take all the fun? ;)

michaelklishin added a commit that referenced this pull request Mar 20, 2015
When storing a trigger, default to updating when replaceExisting is true
@michaelklishin michaelklishin merged commit ca2708c into michaelklishin:master Mar 20, 2015
@michaelklishin
Copy link
Owner

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants