a
This commit is contained in:
		
					parent
					
						
							
								75f3b82ed7
							
						
					
				
			
			
				commit
				
					
						bad86a7936
					
				
			
		
					 1 changed files with 3 additions and 3 deletions
				
			
		
							
								
								
									
										2
									
								
								main.py
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
										
									
									
									
								
							| 
						 | 
					@ -17,7 +17,7 @@ logging.basicConfig(
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# TODO: Remove timeout, use certificate authentication
 | 
					# TODO: Remove timeout, use certificate authentication
 | 
				
			||||||
etcd_client = Etcd3Wrapper(host=config("ETCD_URL"), user="root",
 | 
					client = Etcd3Wrapper(host=config("ETCD_URL"), user="root",
 | 
				
			||||||
                      password=config("ETCD_PASSWORD"),
 | 
					                      password=config("ETCD_PASSWORD"),
 | 
				
			||||||
                      timeout=2629746)
 | 
					                      timeout=2629746)
 | 
				
			||||||
images = list(client.get_prefix("/v1/image/", value_in_json=True))
 | 
					images = list(client.get_prefix("/v1/image/", value_in_json=True))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue