motiv-labs / janus

An API Gateway written in Go
https://hellofresh.gitbooks.io/janus
MIT License
2.79k stars 317 forks source link

Fixed race condition with API loader #350

Closed vgarvardt closed 6 years ago

vgarvardt commented 6 years ago

What does this PR do?

Fix for race condition reported in https://github.com/hellofresh/janus/issues/348

codecov[bot] commented 6 years ago

Codecov Report

Merging #350 into master will increase coverage by 0.08%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #350      +/-   ##
==========================================
+ Coverage   40.33%   40.42%   +0.08%     
==========================================
  Files          74       74              
  Lines        2551     2558       +7     
==========================================
+ Hits         1029     1034       +5     
- Misses       1463     1465       +2     
  Partials       59       59
Impacted Files Coverage Δ
pkg/errors/error.go 70.58% <0%> (+0.21%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 44cea34...c2f70a8. Read the comment docs.