diff --git a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/ServiceNameMapping.java b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/ServiceNameMapping.java index 91fce3cef42..21ae0c511a3 100644 --- a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/ServiceNameMapping.java +++ b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/ServiceNameMapping.java @@ -61,7 +61,7 @@ static ServiceNameMapping getDefaultExtension(ScopeModel scopeModel) { } static String buildMappingKey(URL url) { - return buildGroup(url.getServiceInterface()); + return buildGroup(url.getColonSeparatedKey()); } static String buildGroup(String serviceInterface) {