Skip to content

Commit

Permalink
Update pkg/server/http.go
Browse files Browse the repository at this point in the history
Co-Authored-By: Bartlomiej Plotka <bwplotka@gmail.com>
  • Loading branch information
kakkoyun and bwplotka committed Oct 24, 2019
1 parent 882780b commit 2bc7b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/http.go
Expand Up @@ -29,7 +29,7 @@ type Server struct {
opts options
}

func New(logger log.Logger, reg *prometheus.Registry, comp component.Component, prober *prober.Prober, opts ...Option) Server {
func NewHTTP(logger log.Logger, reg *prometheus.Registry, comp component.Component, prober *prober.Prober, opts ...Option) Server {
options := options{
gracePeriod: 5 * time.Second,
listen: "0.0.0.0:10902",
Expand Down

0 comments on commit 2bc7b6f

Please sign in to comment.