mirror of
https://github.com/ceph/ceph
synced 2025-04-01 14:51:13 +00:00
Merge pull request #52596 from yuvalif/wip-yuval-fix-61868-new
rgw/lua: allow passing tenant without uid to manage lua scripts
This commit is contained in:
commit
f82b9942d6
@ -4294,7 +4294,10 @@ int main(int argc, const char **argv)
|
||||
&& opt_cmd != OPT::PUBSUB_NOTIFICATION_GET
|
||||
&& opt_cmd != OPT::PUBSUB_TOPIC_RM
|
||||
&& opt_cmd != OPT::PUBSUB_NOTIFICATION_RM
|
||||
&& opt_cmd != OPT::PUBSUB_TOPIC_STATS ) {
|
||||
&& opt_cmd != OPT::PUBSUB_TOPIC_STATS
|
||||
&& opt_cmd != OPT::SCRIPT_PUT
|
||||
&& opt_cmd != OPT::SCRIPT_GET
|
||||
&& opt_cmd != OPT::SCRIPT_RM) {
|
||||
cerr << "ERROR: --tenant is set, but there's no user ID" << std::endl;
|
||||
return EINVAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user