Fix the bug that entry in SentinelReactorSubscriber did not carry expected entry type
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
This commit is contained in:
parent
4b0960c942
commit
afc77c2b3e
|
|
@ -88,7 +88,7 @@ public class SentinelReactorSubscriber<T> extends InheritableBaseSubscriber<T> {
|
|||
ContextUtil.enter(sentinelContextConfig.getContextName(), sentinelContextConfig.getOrigin());
|
||||
}
|
||||
try {
|
||||
AsyncEntry entry = SphU.asyncEntry(entryConfig.getResourceName());
|
||||
AsyncEntry entry = SphU.asyncEntry(entryConfig.getResourceName(), entryConfig.getEntryType());
|
||||
this.currentEntry = entry;
|
||||
actual.onSubscribe(this);
|
||||
} catch (BlockException ex) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue