fix(lint): 修复代码格式和未使用变量问题

- 修复 ops_ws_handler.go 中的代码格式和返回值
- 移除 ops_repo_latency_histogram_buckets.go 中不必要的错误检查
- 修复 api_contract_test.go 缩进并添加运维监控配置项测试
- 移除 ops_cleanup_service.go 中未使用的变量
- 添加 ops_retry.go 中缺失的 status 字段
This commit is contained in:
IanShaw027
2026-01-11 23:40:09 +08:00
parent 54c5788b86
commit ce3336e3f4
5 changed files with 45 additions and 33 deletions

View File

@@ -52,6 +52,7 @@ const (
type limitedResponseWriter struct {
header http.Header
wroteHeader bool
status int
limit int
totalWritten int64