Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-1
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)