chore: 修复了 redis.go 中代码风格(golangci-lint)的问题

This commit is contained in:
iBenzene
2026-01-31 19:06:19 +08:00
parent f2e206700c
commit 35f39ca291

View File

@@ -40,8 +40,8 @@ func buildRedisOptions(cfg *config.Config) *redis.Options {
if cfg.Redis.EnableTLS {
opts.TLSConfig = &tls.Config{
MinVersion: tls.VersionTLS12,
ServerName: cfg.Redis.Host,
MinVersion: tls.VersionTLS12,
ServerName: cfg.Redis.Host,
}
}