mirror of
https://github.com/ceph/ceph
synced 2025-02-01 07:52:57 +00:00
Merge pull request #25078 from mkoderer/rgw-ux
[rgw]: Fix help of radosgw-admin user info in case no uid Reviewed-by: Casey Bodley <cbodley@redhat.com> Reviewed-by: Lenz Grimmer <lgrimmer@suse.com> Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
This commit is contained in:
commit
52bdc3738e
@ -4864,6 +4864,10 @@ int main(int argc, const char **argv)
|
||||
|
||||
switch (opt_cmd) {
|
||||
case OPT_USER_INFO:
|
||||
if (user_id.empty()) {
|
||||
cerr << "ERROR: uid not specified" << std::endl;
|
||||
return EINVAL;
|
||||
}
|
||||
break;
|
||||
case OPT_USER_CREATE:
|
||||
if (!user_op.has_existing_user()) {
|
||||
|
Loading…
Reference in New Issue
Block a user