tuteng opened a new pull request #4019: [Issue 3987][pulsar-broker]Handle config is null when create tenant URL: https://github.com/apache/pulsar/pull/4019 Fixes #3987 ### Motivation Config will not appear null when create tenant use pulsar-admin create foo3, but use the following command, config is null. ``` curl -X PUT http://localhost:8080/admin/v2/tenants/foo3 ``` ### Modifications Handle config is null when create tenant use curl. ### Verifying this change Test pass ``` curl -X PUT http://localhost:8080/admin/v2/tenants/foo3 curl -X GET http://localhost:8080/admin/v2/tenants/foo3 {"adminRoles":[],"allowedClusters":[]} ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
