Fix the bug that parameters are not carried when exiting entries in SentinelReactorSubscriber

This commit is contained in:
Eric Zhao 2019-05-10 14:47:18 +08:00 committed by GitHub
parent 18d8b4c8a7
commit 0508c92665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ public class SentinelReactorSubscriber<T> extends InheritableBaseSubscriber<T> {
private boolean tryCompleteEntry() {
if (currentEntry != null && entryExited.compareAndSet(false, true)) {
currentEntry.exit();
currentEntry.exit(1, entryConfig.getArgs());
return true;
}
return false;