diff --git a/compute_tools/src/http/api.rs b/compute_tools/src/http/api.rs
index f92e260071..2aae7ca400 100644
--- a/compute_tools/src/http/api.rs
+++ b/compute_tools/src/http/api.rs
@@ -100,8 +100,8 @@ async fn routes(req: Request
, compute: &Arc) -> Response {
- info!("serving /extensions/install POST request");
+ (&Method::POST, "/extensions") => {
+ info!("serving /extensions POST request");
let status = compute.get_status();
if status != ComputeStatus::Running {
let msg = format!(
diff --git a/compute_tools/src/http/openapi_spec.yaml b/compute_tools/src/http/openapi_spec.yaml
index 90401ef2e5..47952deda9 100644
--- a/compute_tools/src/http/openapi_spec.yaml
+++ b/compute_tools/src/http/openapi_spec.yaml
@@ -144,7 +144,7 @@ paths:
description: Error text or 'true' if check passed.
example: "true"
- /extensions/install:
+ /extensions:
post:
tags:
- Extensions