Skip to content

Commit

Permalink
fixup: minor refactor
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 24, 2023
1 parent 4648c26 commit a00ae5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/pkg/service/flag-evaluation/connect_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ func (s *ConnectService) setupServer(svcConf service.Configuration) (net.Listene
protojson.UnmarshalOptions{DiscardUnknown: true},
)

path, handler := schemaConnectV1.NewServiceHandler(fes, append(svcConf.Options, marshalOpts)...)
mux.Handle(path, handler)
mux.Handle(schemaConnectV1.NewServiceHandler(fes, append(svcConf.Options, marshalOpts)...))
mux.Handle(grpchealth.NewHandler(grpchealth.NewStaticChecker(
schemaConnectV1.ServiceName,
)))
Expand Down

0 comments on commit a00ae5a

Please sign in to comment.