1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-13 01:00:23 +02:00

Rename default command role to main.

Main makes more sense because we refer to the main process in the code, not the default process. The word default is pretty overloaded anyway.
This commit is contained in:
David Steele
2021-05-20 14:39:47 -04:00
committed by GitHub
parent 8453d89a92
commit 831ee81466
19 changed files with 287 additions and 276 deletions

View File

@ -266,7 +266,7 @@ testRun(void)
hrnCfgArgRawZ(argList, cfgOptPgHost, "host");
hrnCfgArgRawZ(argList, cfgOptPgPath, "/pg");
strLstAddZ(argList, "--" CFGOPT_STANZA "=test2");
harnessCfgLoadRole(cfgCmdArchivePush, cfgCmdRoleDefault, argList);
harnessCfgLoadRole(cfgCmdArchivePush, cfgCmdRoleMain, argList);
TEST_ERROR(cmdArchivePush(), HostInvalidError, "archive-push command must be run on the PostgreSQL host");