mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 02:39:04 +00:00
Update the rest of the modules to use the updated version_check
This commit is contained in:
@@ -4050,6 +4050,7 @@ sub main {
|
||||
|
||||
push @configs, new MySQLConfig(
|
||||
dbh => $cxn->dbh(),
|
||||
dsn => $cxn->dsn(),
|
||||
%common_modules,
|
||||
);
|
||||
push @config_names, $cxn->name();
|
||||
@@ -4075,7 +4076,9 @@ sub main {
|
||||
# Do the version-check
|
||||
# ########################################################################
|
||||
if ( $o->get('version-check') && (!$o->has('quiet') || !$o->get('quiet')) ) {
|
||||
Pingback::version_check($configs[0]->{dbh});
|
||||
Pingback::version_check(
|
||||
map { +{ dbh => $_->{dbh}, dsn => $_->{dsn} } } @configs
|
||||
);
|
||||
}
|
||||
|
||||
# #########################################################################
|
||||
|
Reference in New Issue
Block a user