From 2c24002de9be283821ced6540a175e3b2edbeb30 Mon Sep 17 00:00:00 2001 From: kishan Date: Mon, 13 Jun 2011 15:34:27 +0530 Subject: [PATCH] bug 8699: Added event for glabal config update status 8699: resolved fixed --- .../src/com/cloud/configuration/ConfigurationManagerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java index fa325b595da..8befbe4a263 100755 --- a/server/src/com/cloud/configuration/ConfigurationManagerImpl.java +++ b/server/src/com/cloud/configuration/ConfigurationManagerImpl.java @@ -319,12 +319,12 @@ public class ConfigurationManagerImpl implements ConfigurationManager, Configura } - @Override + @Override @ActionEvent(eventType = EventTypes.EVENT_CONFIGURATION_VALUE_EDIT, eventDescription = "updating configuration") public Configuration updateConfiguration(UpdateCfgCmd cmd) { Long userId = UserContext.current().getCallerUserId(); String name = cmd.getCfgName(); String value = cmd.getValue(); - + UserContext.current().setEventDetails(" Name: "+name +" New Value: "+((value == null) ? "" : value)); // check if config value exists if (_configDao.findByName(name) == null) { throw new InvalidParameterValueException("Config parameter with name " + name + " doesn't exist");