[Issue 3987][pulsar-broker]Handle config is null when create tenant (#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":[]} ```
Showing
想要评论请 注册 或 登录