this is how the daemon actually finds the reflector peer port
This commit is contained in:
parent
030ed4914d
commit
a8fe33ecf4
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ func testCmd(cmd *cobra.Command, args []string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
peerServer := peer.NewServer(memStore)
|
peerServer := peer.NewServer(memStore)
|
||||||
err = peerServer.Start(":5567")
|
err = peerServer.Start(":" + strconv.Itoa(reflector.DefaultPort+1))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue