Skip to content

Commit b5492a2

Browse files
authored
Revert "fix(scheduling): query "/" to check if a runner is ready"
1 parent 2d31939 commit b5492a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/inference/scheduling/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (r *runner) wait(ctx context.Context) error {
205205
default:
206206
}
207207
// Create and execute a request targeting a known-valid endpoint.
208-
readyRequest, err := http.NewRequestWithContext(ctx, http.MethodGet, "http://localhost/", http.NoBody)
208+
readyRequest, err := http.NewRequestWithContext(ctx, http.MethodGet, "http://localhost/v1/models", http.NoBody)
209209
if err != nil {
210210
return fmt.Errorf("readiness request creation failed: %w", err)
211211
}

0 commit comments

Comments
 (0)