Added missing reset
This commit is contained in:
parent
405a65282d
commit
b46715dc05
|
@ -59,6 +59,7 @@ public class RequestContextRetriever extends RequestHandler {
|
|||
}
|
||||
}
|
||||
|
||||
SecretManagerProvider.instance.reset();
|
||||
SecretManager secretManager = SecretManagerProvider.instance.get();
|
||||
|
||||
if (accessToken!=null) {
|
||||
|
@ -95,7 +96,7 @@ public class RequestContextRetriever extends RequestHandler {
|
|||
@Override
|
||||
public void handleResponse(ResponseEvent e) {
|
||||
log.debug("resetting all the Thread local for this call.");
|
||||
SecretManagerProvider.instance.get().reset();
|
||||
SecretManagerProvider.instance.reset();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue