Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#5308] fix(docs): fix wrong key name of inUse parameter (#5310)

mchades79d0bd4c1902
diff --git a/docs/manage-metalake-using-gravitino.md b/docs/manage-metalake-using-gravitino.md
index 1e15cd7318..09d5c2dc63 100644
--- a/docs/manage-metalake-using-gravitino.md
+++ b/docs/manage-metalake-using-gravitino.md
@@ -163,7 +163,7 @@ The following is an example of enabling a metalake:
```shell
curl -X PATCH -H "Accept: application/vnd.gravitino.v1+json" \
--H "Content-Type: application/json" -d '{"in-use": true}' \
+-H "Content-Type: application/json" -d '{"inUse": true}' \
http://localhost:8090/api/metalakes/metalake
```
@@ -209,7 +209,7 @@ The following is an example of disabling a metalake:
```shell
curl -X PATCH -H "Accept: application/vnd.gravitino.v1+json" \
--H "Content-Type: application/json" -d '{"in-use": false}' \
+-H "Content-Type: application/json" -d '{"inUse": false}' \
http://localhost:8090/api/metalakes/metalake
```
diff --git a/docs/manage-relational-metadata-using-gravitino.md b/docs/manage-relational-metadata-using-gravitino.md
index c4fffaea8d..6c2a741490 100644
--- a/docs/manage-relational-metadata-using-gravitino.md
+++ b/docs/manage-relational-metadata-using-gravitino.md
@@ -225,7 +225,7 @@ The following is an example of enabling a catalog:
```shell
curl -X PATCH -H "Accept: application/vnd.gravitino.v1+json" \
--H "Content-Type: application/json" -d '{"in-use": true}' \
+-H "Content-Type: application/json" -d '{"inUse": true}' \
http://localhost:8090/api/metalakes/metalake/catalogs/catalog
```
@@ -271,7 +271,7 @@ The following is an example of disabling a catalog:
```shell
curl -X PATCH -H "Accept: application/vnd.gravitino.v1+json" \
--H "Content-Type: application/json" -d '{"in-use": false}' \
+-H "Content-Type: application/json" -d '{"inUse": false}' \
http://localhost:8090/api/metalakes/metalake/catalogs/catalog
```