Skip to content

Commit 61b8314

Browse files
committed
Fixes influxdata#25611: Remove unused v3 write API and associated function
1 parent 9b87cd7 commit 61b8314

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

influxdb3_server/src/http.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -429,12 +429,6 @@ where
429429
self.write_lp_inner(params, req, false, false).await
430430
}
431431

432-
async fn write_v3(&self, req: Request<Body>) -> Result<Response<Body>> {
433-
let query = req.uri().query().ok_or(Error::MissingWriteParams)?;
434-
let params: WriteParams = serde_urlencoded::from_str(query)?;
435-
self.write_lp_inner(params, req, false, true).await
436-
}
437-
438432
async fn write_lp_inner(
439433
&self,
440434
params: WriteParams,
@@ -1374,7 +1368,6 @@ pub(crate) async fn route_request<T: TimeProvider>(
13741368

13751369
http_server.write_lp_inner(params, req, false, false).await
13761370
}
1377-
(Method::POST, "/api/v3/write") => http_server.write_v3(req).await,
13781371
(Method::POST, "/api/v3/write_lp") => http_server.write_lp(req).await,
13791372
(Method::GET | Method::POST, "/api/v3/query_sql") => http_server.query_sql(req).await,
13801373
(Method::GET | Method::POST, "/api/v3/query_influxql") => {

0 commit comments

Comments
 (0)