pomerium/pkg/storage/inmemory
Kenneth Jenkins a771b82a72
storage/inmemory: fix Patch() error handling (#4838)
The Patch() method was intended to skip any records that do not
currently exist. However, currently inmemory.Backend.Patch() will return
ErrNotFound if the last record in the records slice is not found (it
will ignore any other previous records that are not found).

Update the error handling logic here to be consistent with the postgres
backend, and add a unit test to exercise this case.
2023-12-07 12:21:10 -08:00
..
backend.go storage/inmemory: fix Patch() error handling (#4838) 2023-12-07 12:21:10 -08:00
backend_test.go storage/inmemory: implement patch operation (#4654) 2023-11-02 11:03:00 -07:00
config.go databroker: refactor databroker to sync all changes (#1879) 2021-02-18 15:24:33 -07:00
record_collection.go databroker: add options for maximum capacity (#2095) 2021-04-26 17:14:54 -06:00
stream.go databroker: add support for syncing by type (#3412) 2022-06-13 09:52:13 -06:00