fix --statusAddr not working
Closes https://github.com/certusone/wormhole/pull/298 Change-Id: Id89fa57e9d05739980696de79cf8887e407a6567
This commit is contained in:
parent
3fb493cb23
commit
95c752247b
|
@ -244,7 +244,7 @@ func runBridge(cmd *cobra.Command, args []string) {
|
|||
|
||||
go func() {
|
||||
logger.Info("status server listening on [::]:6060")
|
||||
logger.Error("status server crashed", zap.Error(http.ListenAndServe("[::]:6060", router)))
|
||||
logger.Error("status server crashed", zap.Error(http.ListenAndServe(*statusAddr, router)))
|
||||
}()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue