mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-15 16:56:56 +08:00
style: format Go code with go fmt
- Fix formatting issues flagged by PR advisory checks - Run go fmt ./... on all Go files - No functional changes, code style improvements only Files formatted: - api/server.go - auth/auth.go - decision/engine.go - logger/decision_logger.go - manager/trader_manager.go - market/monitor.go - market/types.go - mcp/client.go - trader/*.go (aster, auto, binance, hyperliquid)
This commit is contained in:
@@ -280,8 +280,8 @@ func isRetryableError(err error) bool {
|
||||
"connection refused",
|
||||
"temporary failure",
|
||||
"no such host",
|
||||
"stream error", // HTTP/2 stream 错误
|
||||
"INTERNAL_ERROR", // 服务端内部错误
|
||||
"stream error", // HTTP/2 stream 错误
|
||||
"INTERNAL_ERROR", // 服务端内部错误
|
||||
}
|
||||
for _, retryable := range retryableErrors {
|
||||
if strings.Contains(errStr, retryable) {
|
||||
|
||||
Reference in New Issue
Block a user