mirror of
https://github.com/fosrl/gerbil.git
synced 2026-02-08 05:56:40 +00:00
Bump go version
This commit is contained in:
@@ -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
|
||||
|
||||
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