Skip to content

Ccxdev 10244

Ccxdev 10244 #4

Triggered via pull request June 24, 2024 00:32
@epapbakepapbak
synchronize #3
CCXDEV-10244
Status Failure
Total duration 47s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: migration/ocpmigrations/mig_0015_modify_cluster_rule_toggle.go#L36
unused-parameter: parameter 'driver' seems to be unused, consider removing or renaming it as _ (revive)
lint: migration/ocpmigrations/mig_0015_modify_cluster_rule_toggle.go#L52
unused-parameter: parameter 'driver' seems to be unused, consider removing or renaming it as _ (revive)
lint: migration/ocpmigrations/mig_0015_modify_cluster_rule_toggle.go#L64
unused-parameter: parameter 'driver' seems to be unused, consider removing or renaming it as _ (revive)
lint: migration/ocpmigrations/mig_0022_cleanup_enable_disable_tables.go#L47
unused-parameter: parameter 'tx' seems to be unused, consider removing or renaming it as _ (revive)
lint: migration/ocpmigrations/mig_0027_cleanup_invalid_rows_missing_org_id.go#L69
unused-parameter: parameter 'tx' seems to be unused, consider removing or renaming it as _ (revive)
lint: server/server.go#L316
var-naming: var orgIds should be orgIDs (revive)
lint: tests/rest/org_clusters.go#L129
var-naming: func checkClustersEndpointSpecialOrganizationIds should be checkClustersEndpointSpecialOrganizationIDs (revive)
lint: migration/migration_test.go#L42
unused-parameter: parameter 'tx' seems to be unused, consider removing or renaming it as _ (revive)
lint: storage/storage_write_recommendations_benchmark_test.go#L416
var-naming: var clusterIds should be clusterIDs (revive)
lint: storage/storage_rules_test.go#L676
var-naming: var clusterIds should be clusterIDs (revive)