mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	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{ |     public boolean updateConfiguration(UpdateCfgCmd cmd) throws InvalidParameterValueException, InternalErrorException{ | ||||||
|     	Long userId = UserContext.current().getUserId(); |     	Long userId = UserContext.current().getUserId(); | ||||||
|     	String name = cmd.getName(); |     	String name = cmd.getCfgName(); | ||||||
|     	String value = cmd.getValue(); |     	String value = cmd.getValue(); | ||||||
|     	updateConfiguration (userId, name, value); |     	updateConfiguration (userId, name, value); | ||||||
|     	if (_configDao.getValue(name).equalsIgnoreCase(value)) |     	if (_configDao.getValue(name).equalsIgnoreCase(value)) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user