pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] merlimat closed pull request #3341: Typo in exception message: property -> tenant
Date Wed, 09 Jan 2019 17:41:09 GMT
merlimat closed pull request #3341: Typo in exception message: property -> tenant
URL: https://github.com/apache/pulsar/pull/3341
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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 56e6cc560b..60362f1842 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 @@ protected static void checkAuthorization(ProxyService service, TopicName
topicNa
                         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()) {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Mime
View raw message