ITADN

[BUG] addFailureUriDataRegister uses wrong instanceof type, causing URI registration failures to be silently dropped

#6344Openeye-gu 创建于 2026-05-16
type: bug
E
eye-gucommented
### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior https://github.com/apache/shenyu/blob/338ea9adaff36140c478cc6e2ef01dea8c3c46d8/shenyu-register-center/shenyu-register-client/shenyu-register-client-api/src/main/java/org/apache/shenyu/register/client/api/FailbackRegistryRepository.java#L138-L139 FailbackRegistryRepository.addFailureUriDataRegister checks t instanceof ApiDocRegisterDTO instead of t instanceof URIRegisterDTO ### Expected Behavior _No response_ ### Steps To Reproduce _No response_ ### Environment ```markdown ShenYu version(s): ``` ### Debug logs _No response_ ### Anything else? _No response_
1 条评论