fix --statusAddr not working

Closes https://github.com/certusone/wormhole/pull/298

Change-Id: Id89fa57e9d05739980696de79cf8887e407a6567
This commit is contained in:
Chanwoo Lee 2021-08-06 00:30:10 +09:00 committed by Leopold Schabel
parent 3fb493cb23
commit 95c752247b
1 changed files with 1 additions and 1 deletions

View File

@ -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)))
}()
}