You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/04/10 13:07:17 UTC
[GitHub] [pulsar] tuteng opened a new pull request #4019: [Issue
3987][pulsar-broker]Handle config is null when create tenant
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:
users@infra.apache.org
With regards,
Apache Git Services