mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-19 06:51:18 -06:00
d1551d2366
With the #762 and #764 there is no need to keep the logic for creating the HTTP and HTTPS listeners inside the function. These changes just split listener creation into separate functions for clarity. Also, update runtime to use logrus for reporting initialization errors instead of println for consistency. Signed-off-by: Torin Sandall <torinsandall@gmail.com>