Add a test to reprocuce panic in clampResources #4801
lint.yml
on: pull_request
golangci-lint
2m 17s
check go mod tidy
26s
check generated files
1m 56s
check spelling with codespell
14s
actionlint
22s
Annotations
10 errors
golangci-lint:
pkg/agent/core/goalcu.go#L41
calculateGoalCU - result 1 ([]go.uber.org/zap.Field) is never used (unparam)
|
golangci-lint:
pkg/agent/core/state.go#L254
core.pluginRequested is missing field At (exhaustruct)
|
golangci-lint:
pkg/agent/core/state.go#L796
ineffectual assignment to requestedUpscalingAffectedResult (ineffassign)
|
golangci-lint:
pkg/agent/core/state.go#L866
commentedOutCode: may want to remove commented-out code (gocritic)
|
golangci-lint:
pkg/agent/core/state.go#L869
commentedOutCode: may want to remove commented-out code (gocritic)
|
golangci-lint:
pkg/agent/core/state_test.go#L236
core.Config is missing field DesiredResourcesHook (exhaustruct)
|
golangci-lint:
pkg/agent/core/state_test.go#L329
core.Config is missing field DesiredResourcesHook (exhaustruct)
|
golangci-lint:
pkg/agent/runner.go#L205
core.Config is missing field DesiredResourcesHook (exhaustruct)
|
golangci-lint:
pkg/agent/runner_test.go#L8
File is not properly formatted (gci)
|
golangci-lint:
pkg/agent/runner_test.go#L33
api.PluginResponse is missing field Migrate (exhaustruct)
|