From 87c1e4fcd3ddb1255a5b149268d0afb4db1c4a0b Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Tue, 25 Aug 2015 17:19:11 -0700 Subject: [PATCH] agent: document the scada http creation func --- command/agent/http.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/command/agent/http.go b/command/agent/http.go index 7b99286ea1..7a61a0498b 100644 --- a/command/agent/http.go +++ b/command/agent/http.go @@ -145,6 +145,8 @@ func NewHTTPServers(agent *Agent, config *Config, logOutput io.Writer) ([]*HTTPS return servers, nil } +// newScadaHttp creates a new HTTP server wrapping the SCADA +// listener such that HTTP calls can be sent from the brokers. func newScadaHttp(agent *Agent, list net.Listener) *HTTPServer { // Create the mux mux := http.NewServeMux()