Skip to content

[shell-operator] Replace Logrus with slog #1178

[shell-operator] Replace Logrus with slog

[shell-operator] Replace Logrus with slog #1178

Triggered via pull request November 2, 2024 19:41
Status Failure
Total duration 1m 58s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Run linter: test/utils/jsonloganalyzer.go#L31
ST1016: methods on the same type should have the same receiver name (seen 2x "r", 4x "a") (stylecheck)
Run linter: test/utils/jsonloganalyzer.go#L39
receiver-naming: receiver name a should be consistent with previous receiver name r for JsonLogAnalyzer (revive)
Run linter: test/utils/jsonloganalyzer.go#L43
receiver-naming: receiver name a should be consistent with previous receiver name r for JsonLogAnalyzer (revive)
Run linter: test/utils/jsonloganalyzer.go#L47
receiver-naming: receiver name a should be consistent with previous receiver name r for JsonLogAnalyzer (revive)
Run linter: test/utils/jsonloganalyzer.go#L59
receiver-naming: receiver name a should be consistent with previous receiver name r for JsonLogAnalyzer (revive)
Run linter: test/utils/jsonloganalyzer.go#L60
commentFormatting: put a space between `//` and comment text (gocritic)
Run linter: test/utils/jsonloganalyzer.go#L159
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
Run linter: test/utils/jsonloganalyzer.go#L163
commentFormatting: put a space between `//` and comment text (gocritic)
Run linter: test/utils/jsonloganalyzer.go#L262
unused-parameter: parameter 'actual' seems to be unused, consider removing or renaming it as _ (revive)
Run linter: test/utils/jsonloganalyzer.go#L273
unused-parameter: parameter 'actual' seems to be unused, consider removing or renaming it as _ (revive)
Run linter
Restore cache failed: Dependencies file is not found in /home/runner/work/shell-operator/shell-operator. Supported file pattern: go.sum