Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: refactor Redis host configuration
- Change the value of `host` variable to `127.0.0.1:6379` - Add `host01` variable with the value `127.0.0.1:6379` - Add `host02` variable with the value `127.0.0.1:6380` - Replace `WithAddr(host+":6379")` with `WithAddr(host01)` - Replace `WithAddr(host+":6379")` with `WithAddr(host01)` - Replace `WithAddr(host+":6379")` with `WithAddr(host01)` - Replace `hosts := []string{host + ":6379", host + ":6380"}` with `hosts := []string{host01, host02}` - Replace `hosts := []string{host + ":26379", host + ":26380"}` with `hosts := []string{"127.0.0.1:26379", "127.0.0.1:26380"}` - Replace `WithAddr(host+":6379")` with `WithAddr(host01)` - Replace `WithAddr(host+":6379")` with `WithAddr(host01)` - Replace `WithAddr(host+":6379")` with `WithAddr(host01)` - Replace `WithAddr(host+":6379")` with `WithAddr(host01)` - Replace `WithAddr(host+":6379")` with `WithAddr(host01)` Signed-off-by: Bo-Yi Wu <[email protected]>
- Loading branch information