cleanup ai metrics functions #2035
Annotations
11 warnings
Run Revive Action by building from repository:
monitor/census.go#L1700
redefinition of the built-in function cap
|
Run Revive Action by building from repository:
cmd/simple_auth_server/simple_auth_server.go#L17
struct field Url should be URL
|
Run Revive Action by building from repository:
eth/watchers/timewatcher.go#L225
redefinition of the built-in function new
|
Run Revive Action by building from repository:
monitor/census.go#L1327
parameter 'manifestID' seems to be unused, consider removing or renaming it as _
|
Run Revive Action by building from repository:
monitor/census.go#L1315
parameter 'profilesNum' seems to be unused, consider removing or renaming it as _
|
Run Revive Action by building from repository:
test/e2e/configure_orchestrator_test.go#L40
context.Context should be the first parameter of a function
|
Run Revive Action by building from repository:
cmd/livepeer/starter/starter.go#L1020
redefinition of the built-in function cap
|
Run Revive Action by building from repository:
eth/watchers/stub.go#L319
parameter 'delegator' seems to be unused, consider removing or renaming it as _
|
Run Revive Action by building from repository:
cmd/livepeer/starter/starter.go#L935
if block ends with a return statement, so drop this else and outdent its block
|
Run Revive Action by building from repository:
monitor/census.go#L1331
parameter 'seqNo' seems to be unused, consider removing or renaming it as _
|
Upload coverage reports
Unexpected input(s) 'gcov_ignore', valid inputs are ['token', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'file', 'files', 'flags', 'git_service', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugin', 'plugins', 'report_code', 'root_dir', 'slug', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'verbose', 'version', 'working-directory']
|
Loading