motiv-labs / janus

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

PT-1372 Fixed BSON Duration unmarshalling #334

Closed vgarvardt closed 6 years ago

vgarvardt commented 6 years ago

What does this PR do?

Fixed Duration unmarshalling when loading proxy definition from Mongo. Refs https://github.com/hellofresh/janus/pull/327

codecov[bot] commented 6 years ago

Codecov Report

Merging #334 into master will decrease coverage by 0.1%. The diff coverage is 14.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #334      +/-   ##
==========================================
- Coverage    41.4%   41.29%   -0.11%     
==========================================
  Files          74       74              
  Lines        2512     2521       +9     
==========================================
+ Hits         1040     1041       +1     
- Misses       1407     1416       +9     
+ Partials       65       64       -1
Impacted Files Coverage Δ
pkg/web/provider.go 0% <0%> (ø) :arrow_up:
pkg/proxy/definition.go 71.42% <16.66%> (-11.56%) :arrow_down:

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 2680a6e...6e8d71b. Read the comment docs.