mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-17 01:01:39 +08:00
Rename Pingback.pm to VersionCheck.pm.
This commit is contained in:
@@ -20,7 +20,7 @@ BEGIN {
|
||||
Daemon
|
||||
Transformers
|
||||
HTTPMicro
|
||||
Pingback
|
||||
VersionCheck
|
||||
));
|
||||
}
|
||||
|
||||
@@ -2775,15 +2775,15 @@ if ( $INC{"IO/Socket/SSL.pm"} ) {
|
||||
# ###########################################################################
|
||||
|
||||
# ###########################################################################
|
||||
# Pingback package
|
||||
# VersionCheck package
|
||||
# This package is a copy without comments from the original. The original
|
||||
# with comments and its test file can be found in the Bazaar repository at,
|
||||
# lib/Pingback.pm
|
||||
# t/lib/Pingback.t
|
||||
# lib/VersionCheck.pm
|
||||
# t/lib/VersionCheck.t
|
||||
# See https://launchpad.net/percona-toolkit for more information.
|
||||
# ###########################################################################
|
||||
{
|
||||
package Pingback;
|
||||
package VersionCheck;
|
||||
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
@@ -3376,7 +3376,7 @@ sub _d {
|
||||
1;
|
||||
}
|
||||
# ###########################################################################
|
||||
# End Pingback package
|
||||
# End VersionCheck package
|
||||
# ###########################################################################
|
||||
|
||||
# ###########################################################################
|
||||
@@ -3438,7 +3438,7 @@ sub main {
|
||||
$o->save_error("--dest requires a 't' (table) part");
|
||||
}
|
||||
|
||||
Pingback::validate_options($o);
|
||||
VersionCheck::validate_options($o);
|
||||
}
|
||||
|
||||
$o->usage_or_errors();
|
||||
@@ -3500,7 +3500,7 @@ sub main {
|
||||
# Do the version-check
|
||||
# ########################################################################
|
||||
if ( $o->get('version-check') ne 'off' && (!$o->has('quiet') || !$o->get('quiet')) ) {
|
||||
Pingback::version_check(
|
||||
VersionCheck::version_check(
|
||||
instances => [
|
||||
{ dbh => $dbh, dsn => $src_dsn },
|
||||
($dst_dbh ? { dbh => $dst_dbh, dsn => $dst_dsn } : ())
|
||||
|
||||
Reference in New Issue
Block a user