1
0
mirror of https://github.com/ceph/ceph synced 2025-04-01 14:51:13 +00:00

Merge pull request from yuvalif/wip-yuval-fix-61868-new

rgw/lua: allow passing tenant without uid to manage lua scripts
This commit is contained in:
Yuval Lifshitz 2023-07-25 21:59:23 +03:00 committed by GitHub
commit f82b9942d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}