mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	Add pool refresh before getting list of volumes
This commit is contained in:
		
							parent
							
								
									a519980610
								
							
						
					
					
						commit
						fc3f04c244
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -221,6 +221,7 @@ def get_volumes(request, compute_id, pool): | |||
|                           compute.password, | ||||
|                           compute.type, | ||||
|                           pool) | ||||
|         conn.refresh() | ||||
|     except libvirtError as liberr: | ||||
|         pass | ||||
|     data['vols'] = sorted(conn.get_volumes()) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue