mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	VPC: set event details in the method called by API
This commit is contained in:
		
							parent
							
								
									048c5e50cf
								
							
						
					
					
						commit
						a5f99a2ca0
					
				| @ -294,7 +294,10 @@ public class VpcManagerImpl implements VpcManager, Manager{ | |||||||
|          |          | ||||||
|         svcProviderMap.put(Service.Gateway, defaultProviders); |         svcProviderMap.put(Service.Gateway, defaultProviders); | ||||||
|                 |                 | ||||||
|         return createVpcOffering(name, displayText, svcProviderMap, false, null); |         VpcOffering offering = createVpcOffering(name, displayText, svcProviderMap, false, null); | ||||||
|  |         UserContext.current().setEventDetails(" Id: " + offering.getId() + " Name: " + name); | ||||||
|  |          | ||||||
|  |         return offering; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|      |      | ||||||
| @ -328,7 +331,6 @@ public class VpcManagerImpl implements VpcManager, Manager{ | |||||||
|         } |         } | ||||||
|         txn.commit(); |         txn.commit(); | ||||||
| 
 | 
 | ||||||
|         UserContext.current().setEventDetails(" Id: " + offering.getId() + " Name: " + name); |  | ||||||
|         return offering; |         return offering; | ||||||
|     } |     } | ||||||
|      |      | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user