airbnb / synapse

A transparent service discovery framework for connecting an SOA
MIT License
2.07k stars 251 forks source link

added type validation for haproxy_server_options #249

Closed chase-childers closed 6 years ago

chase-childers commented 6 years ago

If a user pushes a configuration with an haproxy_server_options value that is not a string, it will cause the service_watcher and Synapse to exit because of a NoSuchMethod Exception when split() is called.

This adds type validation on the value of the haproxy_server_options and server_options when a String is expected.