Skip to content

Commit

Permalink
Fix the usage of RedisAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmello authored and kacpersaw committed Oct 24, 2024
1 parent b72e1f2 commit 4e73844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func New() *marshaler.Marshaler {
var manager *cache.MetricCache[any]
if RedisAddress != "" {
log.Info("using redis cache")
opt, err := redis.ParseURL("redis://:qwerty@localhost:6379/1")
opt, err := redis.ParseURL(RedisAddress)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 4e73844

Please sign in to comment.