Skip to content

Jamesmoore/logging #158

Jamesmoore/logging

Jamesmoore/logging #158

Triggered via pull request November 18, 2024 14:30
Status Failure
Total duration 51s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golang: pkg/storage/metrics/metrics.go#L64
var-naming: struct field protocolWaitingForId should be protocolWaitingForID (revive)
golang: pkg/storage/protocol/to_protocol_test.go#L32
unused-parameter: parameter 'urgent' seems to be unused, consider removing or renaming it as _ (revive)
golang: pkg/storage/protocol/protocol_rw.go#L43
var-naming: struct field metricWaitingForId should be metricWaitingForID (revive)
golang: pkg/storage/protocol/protocol_rw.go#L97
var-naming: struct field WaitingForId should be WaitingForID (revive)
golang: pkg/storage/protocol/mock_protocol.go#L26
unused-parameter: parameter 'urgent' seems to be unused, consider removing or renaming it as _ (revive)
golang: pkg/storage/protocol/protocol_rw.go#L138
unused-parameter: parameter 'urgent' seems to be unused, consider removing or renaming it as _ (revive)
golang: pkg/storage/util/bitfield.go#L443
redefines-builtin-id: redefinition of the built-in function max (revive)
golang: pkg/storage/volatilitymonitor/volatility_monitor.go#L24
exported: type name will be used as volatilitymonitor.VolatilityMonitorMetrics by other packages, and that stutters; consider calling this Metrics (revive)
golang: pkg/storage/dirtytracker/dirty_tracker.go#L31
exported: type name will be used as dirtytracker.DirtyTrackerMetrics by other packages, and that stutters; consider calling this Metrics (revive)
golang
issues found