Fix triple unexport remove (#10417)

This commit is contained in:
Albumen Kevin 2022-08-09 09:55:47 +08:00 committed by GitHub
parent 4b55862f86
commit ed73fdeed0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -95,8 +95,7 @@ public class TripleProtocol extends AbstractProtocol {
@Override
public void afterUnExport() {
pathResolver.remove(url.getServiceKey());
pathResolver.add(url.getServiceModel().getServiceModel().getInterfaceName(),
invoker);
pathResolver.remove(url.getServiceModel().getServiceModel().getInterfaceName());
// set service status
triBuiltinService.getHealthStatusManager()
.setStatus(url.getServiceKey(), ServingStatus.NOT_SERVING);