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 <[email protected]>
Signed-off-by: Kemal Akkoyun <[email protected]>
  • Loading branch information
kakkoyun and bwplotka committed Oct 24, 2019
1 parent fcec8c6 commit 3e4106f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/http.go
Original file line number Diff line number Diff line change
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 3e4106f

Please sign in to comment.