Bump go version

This commit is contained in:
Owen Schwartz
2024-12-26 18:22:43 -05:00
parent 5a6d155af5
commit d47234e7c7
2 changed files with 1 additions and 3 deletions

View File

@@ -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

View File

@@ -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)