Skip to content

Commit b8abe03

Browse files
committed
Rename to get_or_head_trino_executing_statement
1 parent 2d9d8c3 commit b8abe03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

trino-lb/src/http_server/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub async fn start_http_server(
108108
)
109109
.route(
110110
"/v1/statement/executing/{query_id}/{slug}/{token}",
111-
get(v1::statement::get_trino_executing_statement),
111+
get(v1::statement::get_or_head_trino_executing_statement),
112112
)
113113
.route(
114114
"/v1/statement/queued_in_trino_lb/{query_id}/{sequence_number}",

trino-lb/src/http_server/v1/statement.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ pub async fn get_trino_queued_statement(
235235
name = "GET (or HEAD) /v1/statement/executing/{queryId}/{slug}/{token}",
236236
skip(state, headers)
237237
)]
238-
pub async fn get_trino_executing_statement(
238+
pub async fn get_or_head_trino_executing_statement(
239239
method: http::Method,
240240
headers: HeaderMap,
241241
State(state): State<Arc<AppState>>,

0 commit comments

Comments
 (0)