mirror of
https://github.com/fosrl/gerbil.git
synced 2026-02-18 02:46:42 +00:00
Bump go version
This commit is contained in:
2
main.go
2
main.go
@@ -579,8 +579,6 @@ func reportPeerBandwidth(apiURL string) error {
|
||||
return fmt.Errorf("failed to marshal bandwidth data: %v", err)
|
||||
}
|
||||
|
||||
logger.Debug("Reporting bandwidth data: %s", string(jsonData))
|
||||
|
||||
resp, err := http.Post(apiURL, "application/json", bytes.NewBuffer(jsonData))
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to send bandwidth data: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user