Fixed plugin update

This commit is contained in:
volodymyr-babak 2017-02-24 10:44:59 +02:00
parent 40e5c64451
commit 04d97315f1

View File

@ -173,7 +173,7 @@ public class PluginActorMessageProcessor extends ComponentMsgProcessor<PluginId>
@Override @Override
public void onUpdate(ActorContext context) throws Exception { public void onUpdate(ActorContext context) throws Exception {
PluginMetaData oldPluginMd = systemContext.getPluginService().findPluginById(entityId); PluginMetaData oldPluginMd = pluginMd;
pluginMd = systemContext.getPluginService().findPluginById(entityId); pluginMd = systemContext.getPluginService().findPluginById(entityId);
boolean requiresRestart = false; boolean requiresRestart = false;
logger.info("[{}] Plugin configuration was updated from {} to {}.", entityId, oldPluginMd, pluginMd); logger.info("[{}] Plugin configuration was updated from {} to {}.", entityId, oldPluginMd, pluginMd);