• Miek Gieben's avatar
    core: remove HostAddresses() (#1728) · d3f2d4a2
    Miek Gieben authored
    * core: remove HostAddresses()
    
    config.HostAddresses() is a weird function that gathers
    some data from the server and returns a string.
    
    It is *only* used the trace plugin, to figure out what
    server starts the trace.
    
    Looks to be better to fit in the with metrics.WithServer label
    on the trace itself to show which server handled the trace.
    
    Remove HostAddresses() and cleanup trace a small bit.:w
    
    * lint
    d3f2d4a2
trace.go 2.32 KB