Update redis_test.go

This commit is contained in:
Fenny
2020-11-04 02:32:40 +01:00
parent ca7cb74756
commit 0c43bf1696

View File

@@ -13,7 +13,7 @@ var storeConfig = ConfigDefault
func init() {
if v := os.Getenv("REDIS_PORT"); v != "" {
storeConfig.Addr = "localhost:" + v
storeConfig.Addr = "127.0.0.1:" + v
}
}