Skip to content

Commit

Permalink
fix: register the HTTP handler for /v1/jobs (#368)
Browse files Browse the repository at this point in the history
Add a missing call of RegisterJobServiceHandlerFromEndpoint
  • Loading branch information
kkaneda authored Feb 6, 2025
1 parent 28310e2 commit 39accb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ func run(ctx context.Context, c *config.Config) error {
if err := v1.RegisterBatchServiceHandlerFromEndpoint(ctx, mux, addr, opts); err != nil {
return err
}
if err := v1.RegisterJobServiceHandlerFromEndpoint(ctx, mux, addr, opts); err != nil {
return err
}

errCh := make(chan error)
go func() {
Expand Down

0 comments on commit 39accb5

Please sign in to comment.