Restricting network access to http_request functions (#127) #271
Annotations
10 errors and 1 warning
build:
point/encode_v2.go#L16
`l` is unused (deadcode)
|
build:
pprofparser/domain/quantity/kind.go#L16
don't use `init` function (gochecknoinits)
|
build:
pprofparser/service/parsing/aggregators.go#L126
string `<unknown>` has 8 occurrences, but such constant `UnknownInfo` already exists (goconst)
|
build:
pprofparser/domain/quantity/quantity.go#L46
ifElseChain: rewrite if-else to switch statement (gocritic)
|
build:
pprofparser/service/parsing/aggregators.go#L196
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
build:
pprofparser/service/parsing/aggregators.go#L206
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
build:
pprofparser/service/parsing/aggregators.go#L216
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
build:
pprofparser/service/parsing/aggregators.go#L279
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
build:
pprofparser/service/parsing/collapse.go#L208
ifElseChain: rewrite if-else to switch statement (gocritic)
|
build:
pprofparser/service/parsing/collapse.go#L369
ifElseChain: rewrite if-else to switch statement (gocritic)
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|