-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update AgentKind
enum variants
#352
Conversation
0e44dde
to
2c185de
Compare
AgentKind
enum variantsAgentKind
enum variants
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #352 +/- ##
==========================================
- Coverage 69.29% 69.29% -0.01%
==========================================
Files 67 67
Lines 14007 14015 +8
==========================================
+ Hits 9706 9711 +5
- Misses 4301 4304 +3 ☔ View full report in Codecov by Sentry. |
2c185de
to
7e9ceaf
Compare
AgentKind
enum variantsAgentKind
enum variants
src/graphql/event.rs
Outdated
@@ -1298,7 +1298,7 @@ mod tests { | |||
hostname: "collector1", | |||
agents: [{ | |||
key: "piglet" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to change this to the new nickname. This way, we can completely avoid mentioning the previous names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All keys have been updated.
For consistency, also updated:
learner => unsupervised
models => semi_supervised
features => sensor
7e9ceaf
to
49b7010
Compare
src/graphql.rs
Outdated
@@ -593,22 +593,25 @@ impl AgentManager for MockAgentManager { | |||
&self, | |||
_networks: &HostNetworkGroup, | |||
) -> Result<Vec<String>, anyhow::Error> { | |||
Ok(vec!["hog@hostA".to_string()]) | |||
Ok(vec!["semi_supervised@hostA".to_string()]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
semi-supervised
is a definitely better option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applied suggested adjustment. Thank you.
837b003
to
614de29
Compare
Could you rebase please? |
614de29
to
53e0561
Compare
- Update review-database to 0.32.0 - Rename previous enum variants to align with review-database - Add `TimeSeriesGenerator` variant Close: #351
53e0561
to
b77141a
Compare
Done rebase. Thank you. |
AgentKind
enum variants to align with review-databaseTimeSeriesGenerator
variantClose: #351