chore: 修复了 redis.go 中代码风格(golangci-lint)的问题
This commit is contained in:
1 parent
f2e206700c
commit
35f39ca291
1 file changed
+2
-2
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user