You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Add missing asserts.
These interface functions did not exist when the Storage object was created but they are now required.
This commit is contained in:
@@ -58,7 +58,9 @@ storageNew(
|
||||
ASSERT(strSize(path) >= 1 && strPtr(path)[0] == '/');
|
||||
ASSERT(driver != NULL);
|
||||
ASSERT(interface.exists != NULL);
|
||||
ASSERT(interface.info != NULL);
|
||||
ASSERT(interface.list != NULL);
|
||||
ASSERT(interface.infoList != NULL);
|
||||
ASSERT(interface.newRead != NULL);
|
||||
ASSERT(interface.newWrite != NULL);
|
||||
ASSERT(interface.pathRemove != NULL);
|
||||
|
||||
Reference in New Issue
Block a user