mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-03-03 14:52:21 +02:00
Restore storageRepo() call in archiveGetProtocol().
This call was removed by d1d25c71, which worked for archivePushProtocol() and verifyProtocol() since the encryption options are passed from the main process. archiveGetProtocol() still retrieves these options in the local process so the repo storage must be loaded first.
This commit is contained in:
parent
f35d69c1c7
commit
8b86d5ea7a
@ -38,6 +38,9 @@ archiveGetProtocol(const String *command, const VariantList *paramList, Protocol
|
||||
{
|
||||
const String *walSegment = varStr(varLstGet(paramList, 0));
|
||||
|
||||
// Get the repo storage in case it is remote and encryption settings need to be pulled down
|
||||
storageRepo();
|
||||
|
||||
protocolServerResponse(
|
||||
server,
|
||||
VARINT(
|
||||
|
Loading…
x
Reference in New Issue
Block a user