OCPBUGS-24595: Cloudeventproxy 2 Card WPC not able to handle multiple dependency and multiple ts2phcs #942
Annotations
6 errors and 9 warnings
golangci-lint:
plugins/ptp_operator/metrics/logparser.go#L469
unnecessary conversion (unconvert)
|
golangci-lint:
plugins/ptp_operator/event/event.go#L215
unnecessary trailing newline (whitespace)
|
golangci-lint:
plugins/ptp_operator/event/event.go#L263
unnecessary trailing newline (whitespace)
|
golangci-lint:
plugins/ptp_operator/metrics/logparser.go#L393
unnecessary trailing newline (whitespace)
|
golangci-lint:
plugins/ptp_operator/event/event.go#L156
shadow: declaration of "ok" shadows declaration at line 100 (govet)
|
golangci-lint
issues found
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
golangci-lint:
plugins/ptp_operator/event/event.go#L41
exported: exported type DependingClockState should have comment or be unexported (revive)
|
golangci-lint:
plugins/ptp_operator/event/event.go#L158
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
golangci-lint:
plugins/ptp_operator/stats/stats.go#L16
exported: exported type PTPStats should have comment or be unexported (revive)
|
golangci-lint:
plugins/ptp_operator/stats/stats.go#L271
exported: exported method PTPStats.CheckSource should have comment or be unexported (revive)
|
golangci-lint:
plugins/ptp_operator/stats/stats.go#L278
exported: exported method PTPStats.New should have comment or be unexported (revive)
|
golangci-lint:
plugins/ptp_operator/stats/stats.go#L225
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
plugins/ptp_operator/stats/stats.go#L245
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
plugins/ptp_operator/metrics/logparser.go#L475
unused-parameter: parameter 'ptp4lCfg' seems to be unused, consider removing or renaming it as _ (revive)
|
The logs for this run have expired and are no longer available.
Loading