1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-05 15:05:48 +02:00

Remove obsolete call to storageRepo() in archivePushProtocol().

This call to storageRepo() was used to fetch cipher options from a remote to determine if a repo cipher was enabled.

Now the main process does this work and passes the cipher options directly to the local so there is no need to pre-load the repo storage here.
This commit is contained in:
David Steele 2020-11-09 16:19:37 -05:00
parent cbb9b8fd2b
commit 3f7a66fffc

View File

@ -29,9 +29,6 @@ archivePushProtocol(const String *command, const VariantList *paramList, Protoco
ASSERT(command != NULL);
// Get the repo storage in case it is remote and encryption settings need to be pulled down
storageRepo();
// Attempt to satisfy the request -- we may get requests that are meant for other handlers
bool found = true;