Skip to content

Commit

Permalink
Polish apache#6315 : Correct words
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed Jun 15, 2020
1 parent 0154426 commit eba44fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ public static boolean isDubboServiceInstance(ServiceInstance serviceInstance) {
|| metadata.containsKey(METADATA_SERVICE_URLS_PROPERTY_NAME);
}

public static void setEndpoints(ServiceInstance serviceInstance, Map<String, Integer> protocolPortss) {
public static void setEndpoints(ServiceInstance serviceInstance, Map<String, Integer> protocolPorts) {
Map<String, String> metadata = serviceInstance.getMetadata();
List<Endpoint> endpoints = new ArrayList<>();
protocolPortss.forEach((k, v) -> {
protocolPorts.forEach((k, v) -> {
Endpoint endpoint = new Endpoint(v, k);
endpoints.add(endpoint);
});
Expand Down

0 comments on commit eba44fa

Please sign in to comment.