remove duplication
This commit is contained in:
parent
e8d81034b8
commit
df79cd8e58
2 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ func main() {
|
|||
notFound := newHTTPServer(fmt.Sprintf(":%d", *port), notFound())
|
||||
metrics := newHTTPServer(fmt.Sprintf(":%d", *healthPort), metrics())
|
||||
|
||||
// start the the healthz and metrics http server
|
||||
// start the healthz and metrics http server
|
||||
go func() {
|
||||
err := metrics.ListenAndServe()
|
||||
if err != http.ErrServerClosed {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue