mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
using resource with path in Context
This commit is contained in:
parent
46e4d71b22
commit
179a517e2d
@ -69,7 +69,7 @@ public class SentinelProtectInterceptor implements ClientHttpRequestInterceptor
|
|||||||
Entry hostEntry = null, hostWithPathEntry = null;
|
Entry hostEntry = null, hostWithPathEntry = null;
|
||||||
ClientHttpResponse response;
|
ClientHttpResponse response;
|
||||||
try {
|
try {
|
||||||
ContextUtil.enter(hostResource);
|
ContextUtil.enter(hostWithPathResource);
|
||||||
if (entryWithPath) {
|
if (entryWithPath) {
|
||||||
hostWithPathEntry = SphU.entry(hostWithPathResource);
|
hostWithPathEntry = SphU.entry(hostWithPathResource);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user