m-lab / annotation-service

Annotation integration service for M-Lab data
Apache License 2.0
3 stars 5 forks source link

Make server annotation convert safe #291

Closed stephen-soltesz closed 3 years ago

stephen-soltesz commented 3 years ago

When used with a known server IP, the server annotation conversion will work as intended. When used with an unknown server IP, the resulting annotation may have .Network{Missing: true} with an empty Systems list, which results in a panic. This change makes the server annotation conversion safe.


This change is Reviewable