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

Fix schema for min_loglevel, etc #300

Merged
merged 24 commits into from
May 26, 2022

Conversation

johnrandolph
Copy link
Collaborator

No description provided.

@@ -571,9 +571,6 @@ PointPointsetConfig configFromMetadata(PointPointsetMetadata metadata) {
if (Boolean.TRUE.equals(metadata.writable)) {
pointConfig.set_value = metadata.baseline_value;
}
pointConfig.min_loglevel = metadata.min_loglevel;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't there be new stuff that copies the values into the pointset config? Somewhere in getDevicePointsetConfig()?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

My understanding is that this is an unused artifact of my earlier attempt to provide defaults by setting them directly.

With the schema changes

PointsetMetadata (not PointsetPointMetadata) holds sample_{limit,rate}_sec
SystemConfig and SystemMetadata holds min_loglevel

@grafnu grafnu self-requested a review May 25, 2022 21:47
@johnrandolph johnrandolph merged commit 13e9851 into faucetsdn:master May 26, 2022
@johnrandolph johnrandolph deleted the fix_schema branch November 29, 2022 16:13
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.

None yet

2 participants