You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2019/01/09 17:41:12 UTC
[pulsar] branch master updated: Typo in exception message: property
-> tenant (#3341)
This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new fc58d71 Typo in exception message: property -> tenant (#3341)
fc58d71 is described below
commit fc58d71f1c9e58164af3940e87a32d5431f39e8d
Author: Ivan Kelly <iv...@apache.org>
AuthorDate: Wed Jan 9 18:41:07 2019 +0100
Typo in exception message: property -> tenant (#3341)
---
.../java/org/apache/pulsar/proxy/server/BrokerDiscoveryProvider.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/BrokerDiscoveryProvider.java b/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/BrokerDiscoveryProvider.java
index 56e6cc5..60362f1 100644
--- a/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/BrokerDiscoveryProvider.java
+++ b/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/BrokerDiscoveryProvider.java
@@ -152,7 +152,7 @@ public class BrokerDiscoveryProvider implements Closeable {
topicName.getTenant(), e.getMessage()));
}
if (!tenantInfo.getAdminRoles().contains(role)) {
- throw new IllegalAccessException("Don't have permission to administrate resources on this property");
+ throw new IllegalAccessException("Don't have permission to administrate resources on this tenant");
}
}
if (LOG.isDebugEnabled()) {