kscout / serverless-registry-api

API which curates serverless applications.
https://api.kscout.io
GNU General Public License v2.0
0 stars 1 forks source link

Make validate config.Config fields of type net/url.URL have a non-empty Schema #156

Closed Noah-Huppert closed 5 years ago

Noah-Huppert commented 5 years ago

Fields of this type have the assumption that they include a schema (like https). Add a validation which ensures this is true.

Noah-Huppert commented 5 years ago

Fixed in c6f76c4366ad53fe3780977bae87ba7eee575a26, now writing regression test