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 2018/03/30 18:19:39 UTC
[GitHub] merlimat closed pull request #1473: use v1 admin api for anti-affinity cluster endpoint
merlimat closed pull request #1473: use v1 admin api for anti-affinity cluster endpoint
URL: https://github.com/apache/incubator-pulsar/pull/1473
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-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/NamespacesImpl.java b/pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/NamespacesImpl.java
index 58db21b5c..a75da4996 100644
--- a/pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/NamespacesImpl.java
+++ b/pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/NamespacesImpl.java
@@ -252,7 +252,7 @@ public String getNamespaceAntiAffinityGroup(String namespace) throws PulsarAdmin
public List<String> getAntiAffinityNamespaces(String property, String cluster, String namespaceAntiAffinityGroup)
throws PulsarAdminException {
try {
- WebTarget path = adminV2Namespaces.path(cluster).path("antiAffinity").path(namespaceAntiAffinityGroup);
+ WebTarget path = adminNamespaces.path(cluster).path("antiAffinity").path(namespaceAntiAffinityGroup);
return request(path.queryParam("property", property)).get(new GenericType<List<String>>() {});
} catch (Exception e) {
throw getApiException(e);
----------------------------------------------------------------
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