Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remotecfg: success metric not updated properly in case of a NotModified response #2844

Open
tpaschalis opened this issue Feb 26, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@tpaschalis
Copy link
Member

What's wrong?

if err == nil || err == errNotModified {

The following check means that when we get a NotModified response, we keep the success metric as true.

cc @spartan0x117 was there a rationale that I may be missing here?

Steps to reproduce

Use remotecfg, wait for a few loops with a bad configuration, see the metric reported as 1

System information

No response

Software version

No response

Configuration


Logs


@tpaschalis tpaschalis added the bug Something isn't working label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant