1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Remove unresolved todo from 87087fac.

Seems easiest just to make the additional config required since it tests that custom ports are being used correctly. The test for synthetic was a noop since SFTP is not used in synthetic tests.
This commit is contained in:
David Steele 2023-06-29 11:08:58 +02:00
parent 0051d7ca87
commit 1fd8845c7f

View File

@ -1288,15 +1288,8 @@ sub configCreate
$oParamHash{$strStanza}{"pg256-host-cmd"} = $oHostDb2->backrestExe();
$oParamHash{$strStanza}{"pg256-host-config"} = $oHostDb2->backrestConfig();
$oParamHash{$strStanza}{"pg256-path"} = $oHostDb2->dbBasePath();
# !!! is this needed???
# Only test explicit ports on the backup server. This is so locally configured ports are also tested.
if (!$self->synthetic())
{
$oParamHash{$strStanza}{"pg256-port"} = $oHostDb2->pgPort();
}
}
# If this is a database host
if ($self->isHostDb())