diff --git a/leadership/README.md b/leadership/README.md index 34675be577..e1b0d47290 100644 --- a/leadership/README.md +++ b/leadership/README.md @@ -20,7 +20,7 @@ underwood := leadership.NewCandidate(client, "service/swarm/leader", "underwood" underwood.RunForElection() electedCh := underwood.ElectedCh() -for isElected := range rlectedCh { +for isElected := range electedCh { // This loop will run every time there is a change in our leadership // status.