Skip to content

Commit

Permalink
fix --statusAddr not working
Browse files Browse the repository at this point in the history
Closes #298

Change-Id: Id89fa57e9d05739980696de79cf8887e407a6567
  • Loading branch information
Chanwoo Lee authored and Leopold Schabel committed Aug 6, 2021
1 parent 3fb493c commit 95c7522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/cmd/guardiand/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
}()
}

Expand Down

0 comments on commit 95c7522

Please sign in to comment.