Skip to content

Commit 8d97d60

Browse files
committed
Upgrade to Go 1.26.5
1 parent 7df261c commit 8d97d60

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ go test -run TestRouteLookup ./server/ # Run a single test
1717
docker build -t mc-router . # Build Docker image
1818
```
1919

20-
Go version: 1.26.4. Testing uses `testify` (assert/require). Tests are table-driven with subtests. Mock pattern: embed `mock.Mock` and call `m.MethodCalled()` (see `k8s_test.go`). Protocol packet tests use hex fixture files in `testdata/` (e.g., `handshake-status.hex`). Test setup for route tests calls `NewRoutes()` and restores the global `Routes` singleton with defer.
20+
Go version: 1.26.5. Testing uses `testify` (assert/require). Tests are table-driven with subtests. Mock pattern: embed `mock.Mock` and call `m.MethodCalled()` (see `k8s_test.go`). Protocol packet tests use hex fixture files in `testdata/` (e.g., `handshake-status.hex`). Test setup for route tests calls `NewRoutes()` and restores the global `Routes` singleton with defer.
2121

2222
## Architecture
2323

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.26.4 AS builder
1+
FROM golang:1.26.5 AS builder
22

33
WORKDIR /build
44

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/itzg/mc-router
22

3-
go 1.26.4
3+
go 1.26.5
44

55
require (
66
github.com/containerd/errdefs v1.0.0

server/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,9 @@ func (s *Server) Run() {
251251
}
252252

253253
case <-s.ctx.Done():
254-
logrus.Info("Server Stopping. Waiting for connections to complete...")
254+
logrus.Info("Router server stopping. Waiting for connections to complete...")
255255
s.connector.WaitForConnections()
256-
logrus.Info("Stopped")
256+
logrus.Info("Router server stopped")
257257
return
258258
}
259259
}

0 commit comments

Comments
 (0)