Commit ac24b5bc authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason

Fix typo in redis URL scheme

There should only be two "s"es, not three, see
https://www.iana.org/assignments/uri-schemes/prov/redis
parent da82ee96
---
title: Fix typo in redis URL scheme
merge_request: 631
author:
type: fixed
......@@ -100,7 +100,7 @@ func sentinelConn(master string, urls []config.TomlURL) *sentinel.Sentinel {
redis.DialWriteTimeout(timeout),
}
if url.Scheme == "redis" || url.Scheme == "redisss" {
if url.Scheme == "redis" || url.Scheme == "rediss" {
c, err = redis.DialURL(addr, options...)
} else {
c, err = redis.Dial("tcp", url.Host, options...)
......
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