syntax cleanup

This commit is contained in:
Joel Wetzell
2026-07-09 22:22:22 -05:00
parent 777f9c43de
commit b86ca20592
9 changed files with 26 additions and 13 deletions
+2 -1
View File
@@ -75,7 +75,8 @@ func (pc *PSNClient) Start(ctx context.Context, inputHandler common.InputHandler
pc.connMu.Unlock()
if err != nil {
//NOTE(jwetzell) we hit deadline
if opErr, ok := err.(*net.OpError); ok && opErr.Timeout() {
opErr, ok := err.(*net.OpError)
if ok && opErr.Timeout() {
continue
}
return err