mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
weed/command: fix dropped error
This commit is contained in:
parent
06434f5227
commit
57801687de
|
@ -78,6 +78,9 @@ func (mqBrokerOpt *MessageQueueBrokerOptions) startQueueServer() bool {
|
||||||
Ip: *mqBrokerOpt.ip,
|
Ip: *mqBrokerOpt.ip,
|
||||||
Port: *mqBrokerOpt.port,
|
Port: *mqBrokerOpt.port,
|
||||||
}, grpcDialOption)
|
}, grpcDialOption)
|
||||||
|
if err != nil {
|
||||||
|
glog.Fatalf("failed to create new message broker for queue server: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
// start grpc listener
|
// start grpc listener
|
||||||
grpcL, _, err := util.NewIpAndLocalListeners("", *mqBrokerOpt.port, 0)
|
grpcL, _, err := util.NewIpAndLocalListeners("", *mqBrokerOpt.port, 0)
|
||||||
|
|
Loading…
Reference in a new issue