diff --git a/Dockerfile b/Dockerfile index 64be6a8..daeac10 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.5-alpine AS builder +FROM golang:1.23.1-alpine AS builder # Set the working directory inside the container WORKDIR /app diff --git a/main.go b/main.go index 54e312e..ac574b7 100644 --- a/main.go +++ b/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)