fixing resetting to the caller scope

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@174957 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-12-18 10:48:17 +00:00
parent b326584c7f
commit 704654b8cf
1 changed files with 4 additions and 1 deletions

View File

@ -285,7 +285,10 @@ public class AnalyticsCreateResolver {
}finally{
if(origalScope!=null){
logger.info("Resetting scope");
logger.info("Setting the original scope: "+origalScope);
ScopeProvider.instance.set(origalScope);
}else{
logger.info("Reset scope");
ScopeProvider.instance.reset();
}
}