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

Alerting: Fix timestamp serialization in mute timings #101

Merged
merged 2 commits into from
Jul 19, 2022

Conversation

alexweav
Copy link
Contributor

The mute timing resource has overridden serialization code that behaves differently from Prometheus, where is where the existing code was adapted from. It was missed in tests as well, because the differently named JSON keys were simply ignored.

Fixed the types and json keys. Extended the tests to cover this.

Copy link
Member

@JohnnyQQQQ JohnnyQQQQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexweav alexweav merged commit 9c38b6f into master Jul 19, 2022
@alexweav alexweav deleted the alexweav/mute-timing-serialization branch July 19, 2022 16:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Archived in project
2 participants