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

refacto(json): convert for loops to iterators #87

Merged
merged 1 commit into from
Mar 31, 2021

Conversation

jdrouet
Copy link
Contributor

@jdrouet jdrouet commented Mar 10, 2021

Signed-off-by: Jérémie Drouet jeremie.drouet@gmail.com

Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
@@ -139,83 +139,72 @@ impl JSONExporter {
}
}

fn get_domains_power(&self, socket_id: u16) -> Vec<Option<Record>> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this appears to be non necessary considering you already have the socket

@bpetit
Copy link
Contributor

bpetit commented Mar 28, 2021

Thanks a lot for the PR 🥳 . I'll try that and comment on the PR

@bpetit
Copy link
Contributor

bpetit commented Mar 31, 2021

This is great and even fixes part of #85

thanks 🥳

@bpetit bpetit merged commit bdc1c26 into hubblo-org:main Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Previous releases
Development

Successfully merging this pull request may close these issues.

2 participants