minor linting things

This commit is contained in:
Joel Wetzell
2026-05-17 09:50:08 -05:00
parent 4bdfe0b00a
commit ad4aa91e08
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ func (ts *TCPServer) Output(ctx context.Context, payload any) error {
for _, connection := range ts.connections {
_, err := connection.Write(payloadBytes)
if err != nil {
errorString.WriteString(fmt.Sprintf("%s\n", err.Error()))
fmt.Fprintf(&errorString, "%s\n", err.Error())
}
}
ts.connectionsMu.Unlock()