Skip to content

Commit

Permalink
[ISSUE alibaba#12970] Fix NamingMetadataManager.removeInstanceMetadat…
Browse files Browse the repository at this point in the history
…a() error

fix alibaba#12970
  • Loading branch information
MajorHe1 authored Dec 18, 2024
1 parent 0556181 commit 0e49ef3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void removeInstanceMetadata(Service service, String metadataId) {
if (null != instanceMetadataMapForService) {
instanceMetadataMapForService.remove(metadataId);
if (instanceMetadataMapForService.isEmpty()) {
serviceMetadataMap.remove(service);
instanceMetadataMap.remove(service);
}
}
expiredMetadataInfos.remove(ExpiredMetadataInfo.newExpiredInstanceMetadata(service, metadataId));
Expand Down

0 comments on commit 0e49ef3

Please sign in to comment.