postgres.git / summary / log / commit / refs
commit 246e9f0341ef6215c09f398ea90ae09abdf5d714
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Wed Apr 21 15:12:04 2021 +0000
First released in: 14.0, 9.6.22, 10.17, 11.12, 12.7, 13.3
fix silly perl error in commit d064afc720
src/test/perl/PostgresNode.pm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm
index da8d07f73cf..16fa2036615 100644
--- a/src/test/perl/PostgresNode.pm
+++ b/src/test/perl/PostgresNode.pm
@@ -1007,8 +1007,7 @@ sub get_new_node
if ($found == 1)
{
foreach my $addr (qw(127.0.0.1),
- $use_tcp ? qw(127.0.0.2 127.0.0.3 0.0.0.0) : ())
- $use_tcp && $TestLib::windows_os
+ ($use_tcp && $TestLib::windows_os)
? qw(127.0.0.2 127.0.0.3 0.0.0.0)
: ())
{
[parent: a2eb086042ba]