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

Update inaccurate comments.

This commit is contained in:
David Steele 2020-01-09 11:56:03 -07:00
parent 2e11389ed4
commit 4c8653fc8b

View File

@ -130,7 +130,7 @@ protocolLocalParam(ProtocolStorageType protocolStorageType, unsigned int hostId,
// Add the host id
kvPut(optionReplace, VARSTR(CFGOPT_HOST_ID_STR), VARUINT(hostId));
// Add the storage type
// Add the remote type
kvPut(optionReplace, VARSTR(CFGOPT_REMOTE_TYPE_STR), VARSTR(protocolStorageTypeStr(protocolStorageType)));
// Only enable file logging on the local when requested
@ -305,7 +305,7 @@ protocolRemoteParam(ProtocolStorageType protocolStorageType, unsigned int protoc
// Always output errors on stderr for debugging purposes
kvPut(optionReplace, VARSTR(CFGOPT_LOG_LEVEL_STDERR_STR), VARSTRDEF("error"));
// Add the type
// Add the remote type
kvPut(optionReplace, VARSTR(CFGOPT_REMOTE_TYPE_STR), VARSTR(protocolStorageTypeStr(protocolStorageType)));
StringList *commandExec = cfgExecParam(cfgCmdRemote, optionReplace, false, true);