mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-15 07:55:51 +00:00
Removed indirect object syntax from PgLogParser.pm
This commit is contained in:
@@ -615,7 +615,7 @@ sub generate_wrappers {
|
|||||||
if ( ($self->{sanity} || '') ne "$args{next_event}" ){
|
if ( ($self->{sanity} || '') ne "$args{next_event}" ){
|
||||||
MKDEBUG && _d("Clearing and recreating internal state");
|
MKDEBUG && _d("Clearing and recreating internal state");
|
||||||
eval { require SysLogParser; }; # Required for tests to work.
|
eval { require SysLogParser; }; # Required for tests to work.
|
||||||
my $sl = new SysLogParser();
|
my $sl = SysLogParser->new();
|
||||||
|
|
||||||
# We need a special item in %args for syslog parsing. (This might not be
|
# We need a special item in %args for syslog parsing. (This might not be
|
||||||
# a syslog log file...) See the test for t/samples/pg-syslog-002.txt for
|
# a syslog log file...) See the test for t/samples/pg-syslog-002.txt for
|
||||||
|
Reference in New Issue
Block a user