Skip to content

Commit

Permalink
Fix publisher key bug (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati authored Feb 2, 2023
1 parent da4f4cc commit cd1fbc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ignore_missing_imports = true

[tool.poetry]
name = "pyth-observer"
version = "0.1.7"
version = "0.1.8"
description = "Alerts and stuff"
authors = []
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion pyth_observer/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def send(self):
if self.check.__class__.__bases__ == (PublisherCheck,):
# Add publisher key to the aggregation key to separate different faulty publishers
# An example would be: PublisherPriceCheck-Crypto.AAVE/USD-9TvAYCUkGajRXs....
aggregation_key += "-" + self.check.state().public_key
aggregation_key += "-" + self.check.state().public_key.key

event = DatadogAPIEvent(
aggregation_key=aggregation_key,
Expand Down

0 comments on commit cd1fbc7

Please sign in to comment.