import fixed
This commit is contained in:
parent
b9ca6eab87
commit
25e5321e6f
|
@ -63,14 +63,12 @@ public class WhnManagerImpl implements WhnManager{
|
|||
logger.info("Returned response for remove scope {} ",body);
|
||||
}
|
||||
|
||||
appContext.container().events().fire(context, ContextEvents.REMOVE_CONTEXT_FROM_CONTAINER);
|
||||
appContext.container().events().fire(context, ContextEvents.ADD_CONTEXT_TO_CONTAINER);
|
||||
} catch (Exception e) {
|
||||
logger.error("error removing context {}", context, e);
|
||||
logger.error("error adding context {}", context, e);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
appContext.container().events().fire(context, ContextEvents.ADD_CONTEXT_TO_CONTAINER);
|
||||
|
||||
}else{
|
||||
logger.error("context is null");
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue