Skip to content

Commit 69f7ab0

Browse files
committed
more main.go fix up
1 parent 414fa01 commit 69f7ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guestbook-go/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func HandleError(result interface{}, err error) (r interface{}) {
7676
func main() {
7777
masterPool = simpleredis.NewConnectionPoolHost("redis-master:6379")
7878
defer masterPool.Close()
79-
replicaPool = simpleredis.NewConnectionPoolHost("redis-slave:6379")
79+
replicaPool = simpleredis.NewConnectionPoolHost("redis-replica:6379")
8080
defer replicaPool.Close()
8181

8282
r := mux.NewRouter()

0 commit comments

Comments
 (0)