You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-15 01:04:37 +02:00
Update storage module to use StringIds.
Use StringIds for the storage types (e.g. STORAGE_S3_TYPE) and configuration settings, e.g. cfgOptS3KeyType. Also add new config functions and harness config functions to support StringIds.
This commit is contained in:
@ -169,7 +169,7 @@ testRun(void)
|
||||
|
||||
storageHelper.storageRepo = memNew(sizeof(Storage *));
|
||||
storageHelper.storageRepo[0] = storageNew(
|
||||
STRDEF("TEST"), STRDEF("/"), 0, 0, false, NULL, &driver, driver.interface);
|
||||
strIdFromZ(stringIdBit6, "test"), STRDEF("/"), 0, 0, false, NULL, &driver, driver.interface);
|
||||
|
||||
// Setup handler for remote storage protocol
|
||||
IoRead *read = ioFdReadNew(strNew("storage server read"), HARNESS_FORK_CHILD_READ(), 60000);
|
||||
|
Reference in New Issue
Block a user