Fix variable name
This commit is contained in:
		
					parent
					
						
							
								a665dbf9c8
							
						
					
				
			
			
				commit
				
					
						17a8efb0b6
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -427,8 +427,8 @@ class OpenNebulaManager():
 | 
				
			||||||
        template_id = int(template_id)
 | 
					        template_id = int(template_id)
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            template_pool = self._get_template_pool()
 | 
					            template_pool = self._get_template_pool()
 | 
				
			||||||
            if template_id in settings.UPDATED_TEMPLATES.keys():
 | 
					            if template_id in settings.UPDATED_TEMPLATES_DICT.keys():
 | 
				
			||||||
                template_id = settings.UPDATED_TEMPLATES[template_id]
 | 
					                template_id = settings.UPDATED_TEMPLATES_DICT[template_id]
 | 
				
			||||||
            return template_pool.get_by_id(template_id)
 | 
					            return template_pool.get_by_id(template_id)
 | 
				
			||||||
        except Exception as ex:
 | 
					        except Exception as ex:
 | 
				
			||||||
            logger.debug("Template Id we are looking for : %s" % template_id)
 | 
					            logger.debug("Template Id we are looking for : %s" % template_id)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue