Skip to content

Fix calling airgradient client before initialization on open metrics #310

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

Merged
merged 1 commit into from
May 4, 2025

Conversation

samuelbles07
Copy link
Collaborator

Changes

Previously, airgradientClient was passed to openmetrics before it was initialized. This has been fixed by separating the passing of airgradient and airgradientClient to openmetrics, allowing airgradientClient to be passed only after it has been initialized.

previously, agclient initialized after setAirgradient
@ccoley
Copy link
Contributor

ccoley commented May 1, 2025

This resolves #309 and probably resolves #308 as well.

@samuelbles07 samuelbles07 merged commit 0404943 into develop May 4, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants