Skip to content

Commit

Permalink
fix signature
Browse files Browse the repository at this point in the history
  • Loading branch information
kpacha committed Oct 30, 2018
1 parent c0108fa commit f82f671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport/http/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func RunServer(ctx context.Context, cfg config.ServiceConfig, handler http.Handl
}
}

func NewServer(cfg *config.TLS, handler http.Handler) *http.Server {
func NewServer(cfg config.ServiceConfig, handler http.Handler) *http.Server {
return &http.Server{
Addr: fmt.Sprintf(":%d", cfg.Port),
Handler: handler,
Expand Down

0 comments on commit f82f671

Please sign in to comment.