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

purge_relay_logs: Redundant argument in sprintf at NodeUtil.pm line 195 #35

Open
wtip opened this issue Oct 16, 2018 · 1 comment
Open

Comments

@wtip
Copy link

wtip commented Oct 16, 2018

When running purge_relay_logs on a Ubuntu 16.04 system with perl5 (revision 5 version 22 subversion 1)
I get Redundant argument in sprintf at /usr/share/perl5/MHA/NodeUtil.pm line 195.

@Paul-Pech
Copy link

This affects at least NodeUtil.pm and BinlogMananger.pm.

It can be circumvented by adding the following line to both files:

use warnings FATAL => 'all'; <------- this line is already there, don't touch it
no warnings qw( redundant ); <------- no warnings for redundant arguments

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

No branches or pull requests

2 participants