Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions multigroup/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var (
)

func main() {
replicaID := flag.Int("nodeid", 1, "ReplicaID to use")
replicaID := flag.Int("replicaid", 1, "ReplicaID to use")
flag.Parse()
if *replicaID > 3 || *replicaID < 1 {
fmt.Fprintf(os.Stderr, "invalid nodeid %d, it must be 1, 2 or 3", *replicaID)
Expand Down Expand Up @@ -118,7 +118,6 @@ func main() {
if err != nil {
panic(err)
}
defer nh.Close()
// start the first cluster
// we use ExampleStateMachine as the IStateMachine for this cluster, its
// behaviour is identical to the one used in the Hello World example.
Expand Down