Skip to content

Commit

Permalink
DEVPROD-11629: log test selection inputs (#8356)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimchelly authored Oct 2, 2024
1 parent d5e4d3b commit 2dc22da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rest/route/select.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/evergreen-ci/gimlet"
"github.com/evergreen-ci/utility"
"github.com/mongodb/grip"
"github.com/mongodb/grip/message"
"github.com/pkg/errors"
)

Expand Down Expand Up @@ -73,5 +74,10 @@ func (t *selectTestsHandler) Parse(ctx context.Context, r *http.Request) error {
}

func (t *selectTestsHandler) Run(ctx context.Context) gimlet.Responder {
grip.Info(message.Fields{
"message": "received test selection request",
"route": "/rest/v2/select/tests",
"request": t.selectTests,
})
return gimlet.NewJSONResponse(t.selectTests)
}

0 comments on commit 2dc22da

Please sign in to comment.