Resolve issue with Redis provider
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tyler 2021-04-15 00:00:36 -04:00
parent 2e0458ced5
commit e3958febc7
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ func main() {
if viper.GetBool("hosts.redis.enable") { if viper.GetBool("hosts.redis.enable") {
rc := redis.NewClient(&redis.Options{Addr: redisConfig.Addr(), DB: redisConfig.DB, Password: redisConfig.Password}) rc := redis.NewClient(&redis.Options{Addr: redisConfig.Addr(), DB: redisConfig.DB, Password: redisConfig.Password})
providers = append(providers, hosts.NewRedisProvider(rc, viper.GetString("hosts.redis.key"), viper.GetDuration("hosts.redis.ttl"))) providers = append(providers, hosts.NewRedisProvider(rc, viper.GetString("hosts.redis.key")))
} }
if viper.GetBool("api.enabled") { if viper.GetBool("api.enabled") {