Skip to content
Snippets Groups Projects
Commit 4ee5fba6 authored by Pea Nut's avatar Pea Nut Committed by jkito
Browse files

Log protocol and transport for gateway given by menshen (v5)

parent e4adde88
No related branches found
No related tags found
1 merge request!215Improve logging for gateways returned by menshen
Pipeline #228362 passed
......@@ -133,6 +133,8 @@ func (m *Menshen) fetchGateways(transport string) error {
Int64("port", gw.Ports[0]).
Str("ip", gw.IPAddr).
Str("location", strings.Title(gw.Location)).
Str("protocol", gw.Transport).
Str("transport", gw.Type).
Msg("Got gateway from API")
// TODO: get rid of the strings.Title stuff if menshen supports gateway identifier
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment