Improvements for osqueryinstance's errgroup #1709
Annotations
6 errors
golangci-lint:
pkg/osquery/runtime/osqueryinstance.go#L380
early-return: if c { ... } else { ... return } can be simplified to if !c { ... return } ... (revive)
|
golangci-lint:
ee/errgroup/errgroup.go#L14
found a struct that contains a context.Context field (containedctx)
|
golangci-lint
Process completed with exit code 1.
|
golangci-lint:
pkg/osquery/runtime/osqueryinstance.go#L380
early-return: if c { ... } else { ... return } can be simplified to if !c { ... return } ... (revive)
|
golangci-lint:
ee/errgroup/errgroup.go#L14
found a struct that contains a context.Context field (containedctx)
|
golangci-lint
issues found
|
Loading