mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-19 12:07:18 +02:00
storage: add filtering to SyncLatest (#3368)
* wip * storage: add filtering to SyncLatest * don't increment the record version, so intermediate changes are requested * fix stream filter
This commit is contained in:
parent
363dd82802
commit
1669b601ea
9 changed files with 88 additions and 49 deletions
|
@ -210,7 +210,7 @@ func TestCapacity(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
}
|
||||
|
||||
_, stream, err := backend.SyncLatest(ctx)
|
||||
_, _, stream, err := backend.SyncLatest(ctx, "EXAMPLE", nil)
|
||||
require.NoError(t, err)
|
||||
|
||||
records, err := storage.RecordStreamToList(stream)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue