moov-io / accounts

accounts - General Ledger and financial account service with an HTTP API
https://moov.io
Apache License 2.0
48 stars 14 forks source link

cmd/server: panic if default routing is empty on startup #24

Closed adamdecaf closed 5 years ago

adamdecaf commented 5 years ago

We need to verify this value has been set, otherwise accounts would be created without such a value (and would be invalid).

codecov-io commented 5 years ago

Codecov Report

Merging #24 into master will decrease coverage by 0.3%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage   44.69%   44.39%   -0.31%     
==========================================
  Files           7        7              
  Lines         443      446       +3     
==========================================
  Hits          198      198              
- Misses        208      211       +3     
  Partials       37       37
Impacted Files Coverage Δ
cmd/server/main.go 8.33% <0%> (-0.31%) :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 87d6f88...d591eeb. Read the comment docs.