1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

Silence perlcritic warning in commit ee28cacf6.

Per buildfarm; this fix is from Michael Paquier (vignesh C
proposed nearly the same).

Discussion: https://postgr.es/m/YD8IZ9OKfUf9X1eF@paquier.xyz
This commit is contained in:
Tom Lane 2021-03-02 23:32:43 -05:00
parent 8eda3eba30
commit d422a2a94b

View File

@ -85,7 +85,8 @@ sub test_target_session_attrs
my $node2_port = $node2->port;
my $node2_name = $node2->name;
my $target_name = $target_node->name if (defined $target_node);
my $target_name = undef;
$target_name = $target_node->name if (defined $target_node);
# Build connection string for connection attempt.
my $connstr = "host=$node1_host,$node2_host ";