"vscode:/vscode.git/clone" did not exist on "cab60ef735b2edb900f8352d6246cbbe7ed8a205"
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 { ...@@ -40,8 +40,8 @@ func buildRedisOptions(cfg *config.Config) *redis.Options {
if cfg.Redis.EnableTLS { if cfg.Redis.EnableTLS {
opts.TLSConfig = &tls.Config{ opts.TLSConfig = &tls.Config{
MinVersion: tls.VersionTLS12, MinVersion: tls.VersionTLS12,
ServerName: cfg.Redis.Host, 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