Commit 87cee2f
authored
fix(snuba): don't mutate filter_keys (#103177)
Some callsites are re-using the same dictionary. It causes problems when
we `del filter_keys["group_id"]` (because that mutates the input dict).
This PR runs a copy before mutating, so the original input should not be
mutated.1 parent 14e9f3b commit 87cee2f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
| 943 | + | |
943 | 944 | | |
944 | 945 | | |
945 | 946 | | |
| |||
0 commit comments