Commit 23814cb
committed
fix: add configuration guard to rlsapi_v1 /infer endpoint
Call check_configuration_loaded() before processing requests so a
missing config returns a clean HTTP 500 instead of an opaque crash.
Matches the pattern used by every other endpoint.
Ref: RSPEED-2817
Signed-off-by: Major Hayden <major@redhat.com>1 parent 6767256 commit 23814cb
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| 652 | + | |
| 653 | + | |
652 | 654 | | |
653 | 655 | | |
654 | 656 | | |
| |||
0 commit comments