Commit 35f39ca2 authored by iBenzene's avatar iBenzene
Browse files

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

parent f2e20670
......@@ -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,
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment