Skip to content

Commit

Permalink
fixup: comment typo
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
  • Loading branch information
toddbaert committed Aug 29, 2023
1 parent b5449a8 commit bdf57ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/pkg/service/flag-evaluation/connect_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func (s *ConnectService) startMetricsServer(svcConf service.Configuration) error
s.metricsServer = &http.Server{
Addr: fmt.Sprintf(":%d", svcConf.MetricsPort),
ReadHeaderTimeout: 3 * time.Second,
Handler: h2c.NewHandler(handler, &http2.Server{}), // we need ot use h2c to support plaintext HTTP2
Handler: h2c.NewHandler(handler, &http2.Server{}), // we need to use h2c to support plaintext HTTP2
}
s.metricsServerMtx.Unlock()

Expand Down

0 comments on commit bdf57ce

Please sign in to comment.