Skip to content

Commit

Permalink
Remove duplicate calling metadataInfo#calAndGetRevision methods (apac…
Browse files Browse the repository at this point in the history
  • Loading branch information
BurningCN authored Apr 27, 2021
1 parent 72531cb commit 8279187
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public void publishMetadata(String serviceName) {
metadataInfos.forEach((registryCluster, metadataInfo) -> {
if (!metadataInfo.hasReported()) {
SubscriberMetadataIdentifier identifier = new SubscriberMetadataIdentifier(serviceName, metadataInfo.calAndGetRevision());
metadataInfo.calAndGetRevision();
metadataInfo.getExtendParams().put(REGISTRY_CLUSTER_KEY, registryCluster);
MetadataReport metadataReport = getMetadataReports().get(registryCluster);
if (metadataReport == null) {
Expand Down

0 comments on commit 8279187

Please sign in to comment.