mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 13:11:32 +00:00
Add final newlines and remove trailing spaces (#672)
* Add final newlines and remove trailing spaces * Replace TAB characters with spaces * Fix indent
This commit is contained in:
@@ -3974,7 +3974,7 @@ sub main {
|
||||
node => $root,
|
||||
print_node => $print_node,
|
||||
MasterSlave => $ms,
|
||||
resolve_address => $o->get('resolve-address'),
|
||||
resolve_address => $o->get('resolve-address'),
|
||||
);
|
||||
|
||||
return 0;
|
||||
@@ -4132,14 +4132,14 @@ sub print_host {
|
||||
$without_port =~ s/:\d*$//; # strip port from ip address
|
||||
my $packed = inet_aton($without_port);
|
||||
if ($packed) {
|
||||
$hostname = gethostbyaddr($packed, AF_INET);
|
||||
$hostname = gethostbyaddr($packed, AF_INET);
|
||||
}
|
||||
}
|
||||
if ($hostname) {
|
||||
print "$prefix$host ($hostname)\n";
|
||||
print "$prefix$host ($hostname)\n";
|
||||
}
|
||||
else {
|
||||
print "$prefix$host\n";
|
||||
print "$prefix$host\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4511,7 +4511,7 @@ of output.
|
||||
|
||||
=head1 ATTENTION
|
||||
|
||||
Using <PTDEBUG> might expose passwords. When debug is enabled, all command line
|
||||
Using <PTDEBUG> might expose passwords. When debug is enabled, all command line
|
||||
parameters are shown in the output.
|
||||
|
||||
=head1 SYSTEM REQUIREMENTS
|
||||
|
Reference in New Issue
Block a user