1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Remove unused parameter in backupProcess().

Also fix a comment in the same function.
This commit is contained in:
David Steele 2023-10-19 10:11:27 -04:00
parent 04d92cca7e
commit 306fdff93a

View File

@ -2068,14 +2068,11 @@ backupJobCallback(void *const data, const unsigned int clientIdx)
}
static void
backupProcess(
const BackupData *const backupData, Manifest *const manifest, const String *const lsnStart,
const String *const cipherPassBackup)
backupProcess(const BackupData *const backupData, Manifest *const manifest, const String *const cipherPassBackup)
{
FUNCTION_LOG_BEGIN(logLevelDebug);
FUNCTION_LOG_PARAM(BACKUP_DATA, backupData);
FUNCTION_LOG_PARAM(MANIFEST, manifest);
FUNCTION_LOG_PARAM(STRING, lsnStart);
FUNCTION_TEST_PARAM(STRING, cipherPassBackup);
FUNCTION_LOG_END();
@ -2129,7 +2126,7 @@ backupProcess(
}
// If this is a full backup or hard-linked and paths are supported then create all paths explicitly so that empty paths will
// exist in to repo. Also create tablespace symlinks when symlinks are available. This makes it possible for the user to
// exist in the repo. Also create tablespace symlinks when symlinks are available. This makes it possible for the user to
// make a copy of the backup path and get a valid cluster.
if ((backupType == backupTypeFull && !jobData.bundle) || hardLink)
{
@ -2589,7 +2586,7 @@ cmdBackup(void)
backupManifestSaveCopy(manifest, cipherPassBackup, false);
// Process the backup manifest
backupProcess(backupData, manifest, backupStartResult.lsn, cipherPassBackup);
backupProcess(backupData, manifest, cipherPassBackup);
// Check that the clusters are alive and correctly configured after the backup
backupDbPing(backupData, true);