mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-03 11:22:45 +02:00
core/lint: upgrade golangci-lint, replace interface{} with any (#5099)
* core/lint: upgrade golangci-lint, replace interface{} with any * regen proto
This commit is contained in:
parent
614048ae9c
commit
1a5b8b606f
135 changed files with 341 additions and 340 deletions
|
@ -107,7 +107,7 @@ func RecordStreamToList(recordStream RecordStream) ([]*databroker.Record, error)
|
|||
// RecordListToStream converts a record list to a stream.
|
||||
func RecordListToStream(ctx context.Context, records []*databroker.Record) RecordStream {
|
||||
return NewRecordStream(ctx, nil, []RecordStreamGenerator{
|
||||
func(ctx context.Context, block bool) (*databroker.Record, error) {
|
||||
func(_ context.Context, _ bool) (*databroker.Record, error) {
|
||||
if len(records) == 0 {
|
||||
return nil, ErrStreamDone
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue