Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
fixed a bug when setting zeromq ports
Browse files Browse the repository at this point in the history
  • Loading branch information
farshidtz committed Jan 21, 2020
1 parent 7f400cc commit 7349c84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager/zeromq/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ func SetupServer(pubPort, subPort string, keys map[string]string) (*zmqClient, e

c := &zmqClient{
conf: model.ZeromqServerInfo{
PubPort: os.Getenv(pubPort),
SubPort: os.Getenv(subPort),
PubPort: pubPort,
SubPort: subPort,
},
Pipe: model.NewPipe(),
}
Expand Down

0 comments on commit 7349c84

Please sign in to comment.