Segment file cleanup process #2739
test.yaml
on: pull_request
Run tests defined for the project
4m 12s
Perform CodeQL analysis
3m 0s
Run editorconfig checker
8s
Annotations
1 error and 10 warnings
Run tests defined for the project
Process completed with exit code 1.
|
Run tests defined for the project:
cmd/livepeer_bench/livepeer_bench.go#L189
should replace realTimeSegCount += 1 with realTimeSegCount++
|
Run tests defined for the project:
cmd/simple_auth_server/simple_auth_server.go#L17
struct field Url should be URL
|
Run tests defined for the project:
eth/types/contracts.go#L49
struct field NextUnbondingLockId should be NextUnbondingLockID
|
Run tests defined for the project:
common/db.go#L457
redundant if ...; err != nil check, just return error instead.
|
Run tests defined for the project:
ai/file_worker.go#L20
parameter 'ctx' seems to be unused, consider removing or renaming it as _
|
Run tests defined for the project:
media/rw.go#L101
should drop = nil from declaration of var err; it is the zero value
|
Run tests defined for the project:
media/segment_reader.go#L10
parameter 'reader' seems to be unused, consider removing or renaming it as _
|
Run tests defined for the project:
ai/file_worker.go#L20
parameter 'req' seems to be unused, consider removing or renaming it as _
|
Run tests defined for the project:
media/segment_reader.go#L16
parameter 'p' seems to be unused, consider removing or renaming it as _
|
Run tests defined for the project:
ai/file_worker.go#L39
parameter 'ctx' seems to be unused, consider removing or renaming it as _
|