This commit is contained in:
Joel Wetzell
2025-11-19 21:42:55 -06:00
parent c6fbf3e427
commit 7bc9dc9d20
3 changed files with 3 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ func (tc *TCPClient) Run(ctx context.Context) error {
if tc.router != nil {
tc.router.HandleInput(tc.config.Id, message)
} else {
slog.Error("tcp-client has not router", "id", tc.config.Id)
slog.Error("tcp-client has no router", "id", tc.config.Id)
}
}
}

View File

@@ -98,7 +98,7 @@ func (ts *TCPServer) HandleClient(ctx context.Context, client net.Conn) {
if ts.router != nil {
ts.router.HandleInput(ts.config.Id, message)
} else {
slog.Error("tcp-server has not router", "id", ts.config.Id)
slog.Error("tcp-server has no router", "id", ts.config.Id)
}
}
}

View File

@@ -75,7 +75,7 @@ func (us *UDPServer) Run(ctx context.Context) error {
if us.router != nil {
us.router.HandleInput(us.config.Id, message)
} else {
slog.Error("tcp-server has not router", "id", us.config.Id)
slog.Error("tcp-server has no router", "id", us.config.Id)
}
}
}