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 logic of detecting deprecated notify type params #1279

Merged
merged 1 commit into from
Feb 19, 2022

Conversation

paskal
Copy link
Sponsor Collaborator

@paskal paskal commented Feb 18, 2022

Previously on unset new notify parameters but set old ones following message was written:

deprecated --notify.type and new --notify.(users|admins) options are set to different values, old one is ignored: please remove it

Now it will be printed only when they are really set, otherwise a deprecation warning will be shown.

@paskal paskal force-pushed the paskal/deprecated_notifications branch from 22a09e4 to 029e97e Compare February 18, 2022 21:56
@umputun umputun merged commit 2ef1cfe into master Feb 19, 2022
@umputun umputun deleted the paskal/deprecated_notifications branch February 19, 2022 08:43
@paskal paskal added this to the 1.10.0 milestone Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants