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

ignore unknown interval type to prevent perl warnings #264

Merged
merged 3 commits into from
Dec 4, 2018

Conversation

phreaker0
Copy link
Collaborator

In my case, I have "frequently" key values in the config, but the release version doesn't support them but they are iterated and used which leads to perl warnings about uninitialized values. So just skip processing unknown interval types.

@jimsalterjrs
Copy link
Owner

I don't want to approve this; it makes my teeth itch. Do you still need this, with the more-frequent-interval PR approved and merged? I have a pretty strong feeling that config parameters that Sanoid doesn't understand should produce a warning, preferably a human-readable one. Thoughts?

@jimsalterjrs jimsalterjrs merged commit 249d35c into jimsalterjrs:master Dec 4, 2018
@phreaker0
Copy link
Collaborator Author

@jimsalterjrs
Yeah a warning is fine, i added it. I just don't wanted sanoid to try to handle an unknown interval type which produced perl errors.

@phreaker0 phreaker0 deleted the ignore-unknown-type branch March 24, 2023 08:11
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