Skip to content

Commit d422a2a

Browse files
committed
Silence perlcritic warning in commit ee28cac.
Per buildfarm; this fix is from Michael Paquier (vignesh C proposed nearly the same). Discussion: https://postgr.es/m/YD8IZ9OKfUf9X1eF@paquier.xyz
1 parent 8eda3eb commit d422a2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/recovery/t/001_stream_rep.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ sub test_target_session_attrs
8585
my $node2_port = $node2->port;
8686
my $node2_name = $node2->name;
8787

88-
my $target_name = $target_node->name if (defined $target_node);
88+
my $target_name = undef;
89+
$target_name = $target_node->name if (defined $target_node);
8990

9091
# Build connection string for connection attempt.
9192
my $connstr = "host=$node1_host,$node2_host ";

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy