|
1 | 1 | // SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
2 | 2 | // SPDX-License-Identifier: Apache-2.0 |
3 | | -// |
4 | | -// Licensed under the Apache License, Version 2.0 (the "License"); |
5 | | -// you may not use this file except in compliance with the License. |
6 | | -// You may obtain a copy of the License at |
7 | | -// |
8 | | -// http://www.apache.org/licenses/LICENSE-2.0 |
9 | | -// |
10 | | -// Unless required by applicable law or agreed to in writing, software |
11 | | -// distributed under the License is distributed on an "AS IS" BASIS, |
12 | | -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | | -// See the License for the specific language governing permissions and |
14 | | -// limitations under the License. |
15 | | - |
16 | | -// SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. |
17 | | -// SPDX-License-Identifier: Apache-2.0 |
18 | | -// |
19 | | -// Licensed under the Apache License, Version 2.0 (the "License"); |
20 | | -// you may not use this file except in compliance with the License. |
21 | | -// You may obtain a copy of the License at |
22 | | -// |
23 | | -// http://www.apache.org/licenses/LICENSE-2.0 |
24 | | -// |
25 | | -// Unless required by applicable law or agreed to in writing, software |
26 | | -// distributed under the License is distributed on an "AS IS" BASIS, |
27 | | -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
28 | | -// See the License for the specific language governing permissions and |
29 | | -// limitations under the License. |
30 | 3 |
|
31 | 4 | use super::{service_v2, RouteDoc}; |
32 | 5 | use axum::{http::Method, http::StatusCode, response::IntoResponse, routing::get, Json, Router}; |
@@ -104,7 +77,7 @@ async fn health_handler( |
104 | 77 | } else { |
105 | 78 | let endpoints: Vec<String> = model_entries |
106 | 79 | .iter() |
107 | | - .map(|entry| entry.endpoint.as_url()) |
| 80 | + .map(|entry| entry.endpoint_id.as_url()) |
108 | 81 | .collect(); |
109 | 82 | ( |
110 | 83 | StatusCode::OK, |
|
0 commit comments