Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix if user does not exist,
desc user xxx
will be raise "User not e…
…xisted!" (vesoft-inc#2450) If user does not exist `desc user xxx` will be raise "User not existed!" <!-- Thanks for your contribution! In order to review PR more efficiently, please add information according to the template. --> ## What type of PR is this? - [x] bug - [ ] feature - [ ] enhancement ## What problem(s) does this PR solve? #### Issue(s) number: Close vesoft-inc#5141 #### Description: If use does not exist `desc user xxx` will be raise "User not existed!" ## How do you solve it? add account exist verify in meta service ## Special notes for your reviewer, ex. impact of this fix, design document, etc: ## Checklist: Tests: manunal test: ``` (root@nebula) [(none)]> desc user u6 [ERROR (-1005)]: User not existed! Wed, 15 Feb 2023 22:43:06 CST ``` - [ ] Unit test(positive and negative cases) - [ ] Function test - [ ] Performance test - [ ] N/A Affects: - [ ] Documentation affected (Please add the label if documentation needs to be modified.) - [ ] Incompatibility (If it breaks the compatibility, please describe it and add the label.) - [ ] If it's needed to cherry-pick (If cherry-pick to some branches is required, please label the destination version(s).) - [ ] Performance impacted: Consumes more CPU/Memory ## Release notes: Please confirm whether to be reflected in release notes and how to describe: > ex. Fixed the bug ..... Migrated from vesoft-inc#5345 Co-authored-by: Milittle <[email protected]>
- Loading branch information