Skip to content

Commit

Permalink
Fix check.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshtin committed Jul 7, 2020
1 parent 849236d commit 3d15639
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/internal_worker_base.go
Expand Up @@ -283,7 +283,7 @@ func (bw *baseWorker) pollTask() {
if err != nil {
if isNonRetriableError(err) {
bw.logger.Error("Worker received non-retriable error. Shutting down.", zap.Error(err))
syscall.Kill(syscall.Getpid(), syscall.SIGINT)
_ = syscall.Kill(syscall.Getpid(), syscall.SIGINT)
return
}
bw.retrier.Failed()
Expand Down
2 changes: 1 addition & 1 deletion internal/tracer_test.go
Expand Up @@ -125,7 +125,7 @@ func TestConsistentInjectionExtraction(t *testing.T) {
t.Parallel()
tracer, closer, err := jaeger_config.Configuration{ServiceName: "test-service"}.NewTracer()
require.NoError(t, err)
defer closer.Close()
defer func() { _ = closer.Close() }()
ctxProp := NewTracingContextPropagator(zap.NewNop(), tracer)

span := tracer.StartSpan("test-operation")
Expand Down

0 comments on commit 3d15639

Please sign in to comment.