This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch branch-0.7
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-0.7 by this push:
     new d6ef68bf5 [#5308] fix(docs): fix wrong key name of inUse parameter 
(#5312)
d6ef68bf5 is described below

commit d6ef68bf5639f6bbf5eea26d10de4d897074b246
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 28 18:39:09 2024 +0800

    [#5308] fix(docs): fix wrong key name of inUse parameter (#5312)
    
    ### What changes were proposed in this pull request?
    
    fix wrong name of in-use key
    
    ### Why are the changes needed?
    
    Fix: #5308
    
    ### Does this PR introduce _any_ user-facing change?
    
    no
    
    ### How was this patch tested?
    
    no need
    
    Co-authored-by: mchades <[email protected]>
---
 docs/manage-metalake-using-gravitino.md            | 4 ++--
 docs/manage-relational-metadata-using-gravitino.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/manage-metalake-using-gravitino.md 
b/docs/manage-metalake-using-gravitino.md
index 1e15cd731..09d5c2dc6 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 c4fffaea8..6c2a74149 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
 ```
 

Reply via email to