feat: improve error handling and logging in the compute package #465
Annotations
10 errors
Run golangci/[email protected]:
pkg/compute/watchers/executor_watcher.go#L57
duplicate case models.ExecutionStateCancelled (constant 11 of type "github.com/bacalhau-project/bacalhau/pkg/models".ExecutionStateType) in expression switch
|
|
Run golangci/[email protected]:
pkg/compute/watchers/executor_watcher.go#L60
logger.Error().Err(err).Msg("failed to cancel execution") (no value) used as value (typecheck)
|
Run golangci/[email protected]:
pkg/transport/bprotocol/compute/transport.go#L14
could not import github.com/bacalhau-project/bacalhau/pkg/compute/watchers (-: # github.com/bacalhau-project/bacalhau/pkg/compute/watchers
|
Run golangci/[email protected]:
pkg/compute/watchers/executor_watcher.go#L57
duplicate case models.ExecutionStateCancelled (constant 11 of type "github.com/bacalhau-project/bacalhau/pkg/models".ExecutionStateType) in expression switch
|
|
Run golangci/[email protected]:
pkg/compute/watchers/executor_watcher.go#L60
logger.Error().Err(err).Msg("failed to cancel execution") (no value) used as value) (typecheck)
|
Run golangci/[email protected]:
pkg/node/compute.go#L22
could not import github.com/bacalhau-project/bacalhau/pkg/compute/watchers (-: # github.com/bacalhau-project/bacalhau/pkg/compute/watchers
|
Run golangci/[email protected]:
pkg/compute/watchers/executor_watcher.go#L57
duplicate case models.ExecutionStateCancelled (constant 11 of type "github.com/bacalhau-project/bacalhau/pkg/models".ExecutionStateType) in expression switch
|
|
Loading