Files
Louis DeLosSantos f3d46ec87b Path Routes, Bug Stomping (#973)
* Path routing, Bug Stomping

Traefik is now included in the local dev to confirm
path routing works and to provide a single url for local development.

Cliarctl is configured to point to the traefik instance doing the host
routing by default.

Found a few bugs along the way:
http.Transport in config.HttpClient was not checked for nil and provided
a default so we were getting nil deref panics on test.

HttpTransport client code checked bool before err and was masking an
issue. Actual error was bad local dev config value for indexer_addr in
matcher config

Signed-off-by: ldelossa <ldelossa@redhat.com>

* Update config/httpclient.go

Co-Authored-By: Hank Donnay <hdonnay@gmail.com>
Signed-off-by: ldelossa <ldelossa@redhat.com>

* make error handling consistent

Signed-off-by: ldelossa <ldelossa@redhat.com>

Co-authored-by: Hank Donnay <hdonnay@gmail.com>
2020-04-17 10:51:19 -04:00

5 lines
34 B
Plaintext