Merge branch 'main' of github.com:sarg3nt/gearbox #20
Annotations
11 errors and 2 warnings
|
Lint:
gearbox/internal/framework/database/alerts.go#L178
Error return value of `rows.Close` is not checked (errcheck)
|
|
Lint:
gearbox/internal/framework/collector/websocket_manager.go#L278
func (*WebSocketManager).triggerMetricsRefresh is unused (unused)
|
|
Lint:
gearbox/internal/framework/collector/websocket_manager.go#L261
func (*WebSocketManager).triggerStatsRefresh is unused (unused)
|
|
Lint:
gearbox/internal/framework/agent/websocket.go#L157
Error return value of `w.conn.Close` is not checked (errcheck)
|
|
Lint:
gearbox/internal/framework/agent/client.go#L172
S1009: should omit nil check; len() for nil maps is defined as zero (staticcheck)
|
|
Lint:
gearbox/internal/framework/agent/client.go#L120
S1009: should omit nil check; len() for nil maps is defined as zero (staticcheck)
|
|
Lint:
gearbox/cmd/server/main.go#L477
Error return value of `w.Write` is not checked (errcheck)
|
|
Lint:
gearbox/cmd/server/main.go#L467
Error return value of `w.Write` is not checked (errcheck)
|
|
Lint:
gearbox/cmd/server/main.go#L370
Error return value of `widgets.RegisterCoreWidgets` is not checked (errcheck)
|
|
Lint:
gearbox/cmd/server/main.go#L81
Error return value of `db.Close` is not checked (errcheck)
|
|
Test
Process completed with exit code 1.
|
|
Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/gearbox/gearbox. Supported file pattern: go.sum
|
|
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/gearbox/gearbox. Supported file pattern: go.sum
|