Skip to content

Commit 9df4bc1

Browse files
committed
fix balancer example
1 parent f6bac7b commit 9df4bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/balancer/simple-balancer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ http.createServer(function (req, res) {
5858
//
5959
// ...and then the server you just used becomes the last item in the list.
6060
//
61-
addresses.push(target);
61+
addresses.push(target.target);
6262
}).listen(8021);
6363

6464
// Rinse; repeat; enjoy.

0 commit comments

Comments
 (0)