Skip to content

[OSCP]feat:add kuscia task Related observational indicators #192

[OSCP]feat:add kuscia task Related observational indicators

[OSCP]feat:add kuscia task Related observational indicators #192

Re-run triggered October 30, 2024 06:23
Status Failure
Total duration 1h 7m 48s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

45 errors and 5 warnings
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L93
Error return value of `mm.Regist` is not checked (errcheck)
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L108
Error return value of `mm.SetDependencies` is not checked (errcheck)
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L109
Error return value of `mm.SetDependencies` is not checked (errcheck)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktpromexporter/type.go#L25
var-naming: don't use underscores in Go names; func NewMetricTypes_kt should be NewMetricTypesKt (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/parse/domain.go#L63
empty-block: this block is empty, you can remove it (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktmetrics/ktmetrics.go#L465
unused-parameter: parameter 'runMode' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktexporter.go#L53
unused-parameter: parameter 'lastClusterMetricValues' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest): cmd/kuscia/modules/ktexporter.go#L42
unused-parameter: parameter 'body' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest)
Process completed with exit code 1.
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L93
Error return value of `mm.Regist` is not checked (errcheck)
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L108
Error return value of `mm.SetDependencies` is not checked (errcheck)
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L109
Error return value of `mm.SetDependencies` is not checked (errcheck)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktpromexporter/type.go#L25
var-naming: don't use underscores in Go names; func NewMetricTypes_kt should be NewMetricTypesKt (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/parse/domain.go#L63
empty-block: this block is empty, you can remove it (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktmetrics/ktmetrics.go#L465
unused-parameter: parameter 'runMode' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktexporter.go#L53
unused-parameter: parameter 'lastClusterMetricValues' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest): cmd/kuscia/modules/ktexporter.go#L42
unused-parameter: parameter 'body' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest)
Process completed with exit code 1.
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L93
Error return value of `mm.Regist` is not checked (errcheck)
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L108
Error return value of `mm.SetDependencies` is not checked (errcheck)
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L109
Error return value of `mm.SetDependencies` is not checked (errcheck)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktpromexporter/type.go#L25
var-naming: don't use underscores in Go names; func NewMetricTypes_kt should be NewMetricTypesKt (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/parse/domain.go#L63
empty-block: this block is empty, you can remove it (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktmetrics/ktmetrics.go#L465
unused-parameter: parameter 'runMode' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktexporter.go#L53
unused-parameter: parameter 'lastClusterMetricValues' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest): cmd/kuscia/modules/ktexporter.go#L42
unused-parameter: parameter 'body' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest)
Process completed with exit code 1.
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L93
Error return value of `mm.Regist` is not checked (errcheck)
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L108
Error return value of `mm.SetDependencies` is not checked (errcheck)
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L109
Error return value of `mm.SetDependencies` is not checked (errcheck)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktpromexporter/type.go#L25
var-naming: don't use underscores in Go names; func NewMetricTypes_kt should be NewMetricTypesKt (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/parse/domain.go#L63
empty-block: this block is empty, you can remove it (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktmetrics/ktmetrics.go#L465
unused-parameter: parameter 'runMode' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktexporter.go#L53
unused-parameter: parameter 'lastClusterMetricValues' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest): cmd/kuscia/modules/ktexporter.go#L42
unused-parameter: parameter 'body' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest)
Process completed with exit code 1.
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L93
Error return value of `mm.Regist` is not checked (errcheck)
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L108
Error return value of `mm.SetDependencies` is not checked (errcheck)
lint (1.22, ubuntu-latest): cmd/kuscia/start/start.go#L109
Error return value of `mm.SetDependencies` is not checked (errcheck)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktpromexporter/type.go#L25
var-naming: don't use underscores in Go names; func NewMetricTypes_kt should be NewMetricTypesKt (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/parse/domain.go#L63
empty-block: this block is empty, you can remove it (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktmetrics/ktmetrics.go#L465
unused-parameter: parameter 'runMode' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest): pkg/ktexporter/ktexporter.go#L53
unused-parameter: parameter 'lastClusterMetricValues' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest): cmd/kuscia/modules/ktexporter.go#L42
unused-parameter: parameter 'body' seems to be unused, consider removing or renaming it as _ (revive)
lint (1.22, ubuntu-latest)
Process completed with exit code 1.
lint (1.22, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (1.22, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (1.22, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (1.22, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint (1.22, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/