Fix setting fixed price per session with initial price 0 #1460
test.yaml
on: pull_request
Run tests defined for the project
4m 29s
Perform CodeQL analysis
7m 8s
Run editorconfig checker
10s
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/simple_auth_server/simple_auth_server.go#L17
struct field Url should be URL
|
Run tests defined for the project:
discovery/discovery.go#L64
should omit 2nd value from range; this loop is equivalent to `for i := range ...`
|
Run tests defined for the project:
cmd/livepeer_bench/livepeer_bench.go#L241
should replace realTimeSegCount += 1 with realTimeSegCount++
|
Run tests defined for the project:
discovery/stub.go#L32
exported func StubOrchestratorPool returns unexported type *discovery.stubOrchestratorPool, which can be annoying to use
|
Run tests defined for the project:
discovery/wh_discovery.go#L32
exported func NewWebhookPool returns unexported type *discovery.webhookPool, which can be annoying to use
|
Run tests defined for the project:
eth/accountmanager_test.go#L191
redefinition of the built-in function new
|
Run tests defined for the project:
eth/client.go#L335
if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
|
Run tests defined for the project:
verification/verify_test.go#L59
parameter 'params' seems to be unused, consider removing or renaming it as _
|
Run tests defined for the project:
monitor/census.go#L878
context.Context should be the first parameter of a function
|
Run tests defined for the project:
discovery/discovery.go#L36
exported func NewOrchestratorPool returns unexported type *discovery.orchestratorPool, which can be annoying to use
|