You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-07 00:35:37 +02:00
Remove extraneous storageRepo() calls.
These calls are not required since cipher info is passed explicitly. They are probably a copy-pasto from some past time when one of these functions required it.
This commit is contained in:
@ -29,9 +29,6 @@ archiveGetProtocol(const String *command, const VariantList *paramList, Protocol
|
|||||||
|
|
||||||
ASSERT(command != NULL);
|
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
|
// Attempt to satisfy the request -- we may get requests that are meant for other handlers
|
||||||
bool found = true;
|
bool found = true;
|
||||||
|
|
||||||
|
@ -29,9 +29,6 @@ restoreProtocol(const String *command, const VariantList *paramList, ProtocolSer
|
|||||||
|
|
||||||
ASSERT(command != NULL);
|
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
|
// Attempt to satisfy the request -- we may get requests that are meant for other handlers
|
||||||
bool found = true;
|
bool found = true;
|
||||||
|
|
||||||
|
@ -29,9 +29,6 @@ verifyProtocol(const String *command, const VariantList *paramList, ProtocolServ
|
|||||||
|
|
||||||
ASSERT(command != NULL);
|
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
|
// Attempt to satisfy the request -- we may get requests that are meant for other handlers
|
||||||
bool found = true;
|
bool found = true;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user