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);
|
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) {
|
} catch (Exception e) {
|
||||||
logger.error("error removing context {}", context, e);
|
logger.error("error adding context {}", context, e);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
appContext.container().events().fire(context, ContextEvents.ADD_CONTEXT_TO_CONTAINER);
|
|
||||||
}else{
|
}else{
|
||||||
logger.error("context is null");
|
logger.error("context is null");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue