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

omdb: add "mgs sensors" and "mgs dashboard" commands #4973

Merged
merged 24 commits into from
Feb 6, 2024
Merged

Conversation

bcantrill
Copy link
Contributor

No description provided.

@bcantrill bcantrill marked this pull request as ready for review February 3, 2024 02:58
Copy link
Contributor

@jgallagher jgallagher left a comment

Choose a reason for hiding this comment

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

LGTM - almost entirely nitpicks for clarity / error reporting.

dev-tools/omdb/src/bin/omdb/mgs/dashboard.rs Outdated Show resolved Hide resolved
dev-tools/omdb/src/bin/omdb/mgs/dashboard.rs Outdated Show resolved Hide resolved
dev-tools/omdb/src/bin/omdb/mgs/dashboard.rs Outdated Show resolved Hide resolved
dev-tools/omdb/src/bin/omdb/mgs/dashboard.rs Outdated Show resolved Hide resolved
dev-tools/omdb/src/bin/omdb/mgs/dashboard.rs Show resolved Hide resolved
dev-tools/omdb/src/bin/omdb/mgs/sensors.rs Outdated Show resolved Hide resolved
dev-tools/omdb/src/bin/omdb/mgs/sensors.rs Outdated Show resolved Hide resolved
dev-tools/omdb/src/bin/omdb/mgs/sensors.rs Outdated Show resolved Hide resolved
dev-tools/omdb/src/bin/omdb/mgs/sensors.rs Outdated Show resolved Hide resolved
dev-tools/omdb/src/bin/omdb/mgs/sensors.rs Outdated Show resolved Hide resolved
}
}

let values = f.await?;
Copy link
Contributor

Choose a reason for hiding this comment

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

Looking at this again while I was poking around with the terminal restore on error question: why do we construct f before the while loop but not .await it until here? I think it would be equivalent to get rid of f and call sensor_data(...).await directly here, but maybe there was a different intent with f?

@bcantrill bcantrill merged commit 9576766 into main Feb 6, 2024
22 checks passed
@bcantrill bcantrill deleted the omdb-sensors branch February 6, 2024 08:00
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