-
Notifications
You must be signed in to change notification settings - Fork 120
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
Layer object support for log-forwarding as a field #1073
Comments
Thanks for the report, @kayra1. We'll aim to fix this before the next ops release (at the end of November). We'll also look to see whether it's feasible to allow |
Most of what currently happens in
Overall, it seems a reasonable change to me. Effectively, by passing a |
@tonyandrewmeyer Thanks for the response. In our earlier discussion you raised a good point, that we want to keep ops up to date so people don't start relying on workarounds (and as you point out, so we can add further checks in future). So I think let's just add the new field(s) and not change the dict behaviour at this point. People are using dicts heavily right now, so we do want some validation on those rather than removing that guarantee. |
log-targets
has been added as a field to pebble as of canonical/pebble#267. However, the current implementation of ops.pebble.Layer discards this from the argument of the init. This must be handled properly so that the layer yaml file could be produced.The text was updated successfully, but these errors were encountered: