You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-03 00:26:59 +02:00
Remove extraneous space from error messages.
This commit is contained in:
@ -79,8 +79,8 @@ restorePathValidate(void)
|
|||||||
{
|
{
|
||||||
LOG_WARN_FMT(
|
LOG_WARN_FMT(
|
||||||
"--delta or --force specified but unable to find '" PG_FILE_PGVERSION "' or '" BACKUP_MANIFEST_FILE "' in '%s' to"
|
"--delta or --force specified but unable to find '" PG_FILE_PGVERSION "' or '" BACKUP_MANIFEST_FILE "' in '%s' to"
|
||||||
" confirm that this is a valid $PGDATA directory. --delta and --force have been disabled and if any files"
|
" confirm that this is a valid $PGDATA directory. --delta and --force have been disabled and if any files exist"
|
||||||
" exist in the destination directories the restore will be aborted.",
|
" in the destination directories the restore will be aborted.",
|
||||||
strZ(cfgOptionDisplay(cfgOptPgPath)));
|
strZ(cfgOptionDisplay(cfgOptPgPath)));
|
||||||
|
|
||||||
// Disable delta and force so restore will fail if the directories are not empty
|
// Disable delta and force so restore will fail if the directories are not empty
|
||||||
|
@ -295,8 +295,8 @@ testRun(void)
|
|||||||
TEST_RESULT_BOOL(cfgOptionBool(cfgOptDelta), false, "--delta set to false");
|
TEST_RESULT_BOOL(cfgOptionBool(cfgOptDelta), false, "--delta set to false");
|
||||||
TEST_RESULT_LOG(
|
TEST_RESULT_LOG(
|
||||||
"P00 WARN: --delta or --force specified but unable to find 'PG_VERSION' or 'backup.manifest' in '" TEST_PATH "/pg' to"
|
"P00 WARN: --delta or --force specified but unable to find 'PG_VERSION' or 'backup.manifest' in '" TEST_PATH "/pg' to"
|
||||||
" confirm that this is a valid $PGDATA directory. --delta and --force have been disabled and if any files"
|
" confirm that this is a valid $PGDATA directory. --delta and --force have been disabled and if any files exist in the"
|
||||||
" exist in the destination directories the restore will be aborted.");
|
" destination directories the restore will be aborted.");
|
||||||
|
|
||||||
HRN_CFG_LOAD(cfgCmdRestore, argList);
|
HRN_CFG_LOAD(cfgCmdRestore, argList);
|
||||||
HRN_STORAGE_PUT_EMPTY(storagePgWrite(), "backup.manifest");
|
HRN_STORAGE_PUT_EMPTY(storagePgWrite(), "backup.manifest");
|
||||||
@ -317,8 +317,8 @@ testRun(void)
|
|||||||
TEST_RESULT_BOOL(cfgOptionBool(cfgOptForce), false, "--force set to false");
|
TEST_RESULT_BOOL(cfgOptionBool(cfgOptForce), false, "--force set to false");
|
||||||
TEST_RESULT_LOG(
|
TEST_RESULT_LOG(
|
||||||
"P00 WARN: --delta or --force specified but unable to find 'PG_VERSION' or 'backup.manifest' in '" TEST_PATH "/pg' to"
|
"P00 WARN: --delta or --force specified but unable to find 'PG_VERSION' or 'backup.manifest' in '" TEST_PATH "/pg' to"
|
||||||
" confirm that this is a valid $PGDATA directory. --delta and --force have been disabled and if any files"
|
" confirm that this is a valid $PGDATA directory. --delta and --force have been disabled and if any files exist in the"
|
||||||
" exist in the destination directories the restore will be aborted.");
|
" destination directories the restore will be aborted.");
|
||||||
|
|
||||||
HRN_CFG_LOAD(cfgCmdRestore, argList);
|
HRN_CFG_LOAD(cfgCmdRestore, argList);
|
||||||
HRN_STORAGE_PUT_EMPTY(storagePgWrite(), PG_FILE_PGVERSION);
|
HRN_STORAGE_PUT_EMPTY(storagePgWrite(), PG_FILE_PGVERSION);
|
||||||
|
Reference in New Issue
Block a user