mirror of https://github.com/apache/cloudstack.git
use the name of the configuration variable rather than the name of the command
This commit is contained in:
parent
1ae2273871
commit
6db9f377a3
|
|
@ -192,7 +192,7 @@ public class ConfigurationManagerImpl implements ConfigurationManager {
|
|||
|
||||
public boolean updateConfiguration(UpdateCfgCmd cmd) throws InvalidParameterValueException, InternalErrorException{
|
||||
Long userId = UserContext.current().getUserId();
|
||||
String name = cmd.getName();
|
||||
String name = cmd.getCfgName();
|
||||
String value = cmd.getValue();
|
||||
updateConfiguration (userId, name, value);
|
||||
if (_configDao.getValue(name).equalsIgnoreCase(value))
|
||||
|
|
|
|||
Loading…
Reference in New Issue