mirror of https://github.com/status-im/consul.git
agent: Cleanup a comment
This commit is contained in:
parent
5f627fca1b
commit
cd3cd4d3b8
|
@ -53,7 +53,8 @@ func ProviderConfig(c *Config) *client.ProviderConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewProvider creates a new SCADA provider using the
|
// NewProvider creates a new SCADA provider using the
|
||||||
// given configuration. Requests are routed to the
|
// given configuration. Requests for the HTTP capability
|
||||||
|
// are passed off to the listener that is returned.
|
||||||
func NewProvider(c *Config, logOutput io.Writer) (*client.Provider, net.Listener, error) {
|
func NewProvider(c *Config, logOutput io.Writer) (*client.Provider, net.Listener, error) {
|
||||||
// Get the configuration of the provider
|
// Get the configuration of the provider
|
||||||
config := ProviderConfig(c)
|
config := ProviderConfig(c)
|
||||||
|
|
Loading…
Reference in New Issue