1
0
mirror of https://github.com/mrusme/neonmodem.git synced 2024-11-03 04:27:16 -05:00

Fixed line length

This commit is contained in:
マリウス 2023-01-10 19:04:15 -05:00
parent 4f1208b8dc
commit 591d093ff5
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F

View File

@ -104,7 +104,6 @@ func (sys *System) Description() string {
func (sys *System) Load() error {
var httpClient *http.Client = nil
var httpTransport *http.Transport = nil
var err error
u := sys.config["url"]
@ -118,7 +117,8 @@ func (sys *System) Load() error {
if err != nil {
sys.logger.Error(err)
} else {
sys.logger.Debugf("setting up http proxy transport: %s\n", proxyURL.String())
sys.logger.Debugf("setting up http proxy transport: %s\n",
proxyURL.String())
httpTransport = &http.Transport{
Proxy: http.ProxyURL(proxyURL),
}