Skip to content

Commit

Permalink
bug: fix the problem of incorrect judgment of http response code in S…
Browse files Browse the repository at this point in the history
…ubscribeManager#getSubscribers() method (#3879)
  • Loading branch information
Maijh97 authored Sep 21, 2020
1 parent 7fd4d9a commit 4ce897e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public List<Subscriber> getSubscribers(String serviceName, String namespaceId, b
+ UtilsAndCommons.NACOS_NAMING_CONTEXT + SUBSCRIBER_ON_SYNC_URL, new ArrayList<>(),
paramValues);

if (!result.ok()) {
if (result.ok()) {
Subscribers subscribers = JacksonUtils.toObj(result.getData(), Subscribers.class);
subscriberList.addAll(subscribers.getSubscribers());
}
Expand Down

0 comments on commit 4ce897e

Please sign in to comment.