-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#6136] improvement(CLI): Move check for enable and disable command i…
…n Gravitino CLI to command (#6535) ### What changes were proposed in this pull request? Move check for enable and disable command in Gravitino CLI to command ### Why are the changes needed? Fix: #6136 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? local test ```bash gcli metalake update -m demo_metalake --disable -i demo_metalake has been disabled. gcli metalake update -m demo_metalake --enable -i demo_metalake has been enabled. gcli metalake update -m demo_metalake --enable --disable -i Unable to us --enable and --disable at the same time gcli metalake update -m demo_metalake --enable --all -i demo_metalake has been enabled. and all catalogs in this metalake have been enabled. gcli catalog update -m demo_metalake --name Hive_catalog --disable -i demo_metalake.Hive_catalog has been disabled. gcli catalog update -m demo_metalake --name Hive_catalog --enable -i demo_metalake.Hive_catalog has been enabled. gcli catalog update -m demo_metalake --name Hive_catalog --enable --disable -i Unable to us --enable and --disable at the same time ``` --------- Co-authored-by: Justin Mclean <justin@classsoftware.com>
- Loading branch information
1 parent
a95933d
commit 7224525
Showing
11 changed files
with
136 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 0 additions & 62 deletions
62
clients/cli/src/main/java/org/apache/gravitino/cli/commands/CatalogDisable.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.