mirror of
				https://github.com/containers/podman.git
				synced 2025-10-26 02:35:43 +08:00 
			
		
		
		
	 1db70cce34
			
		
	
	1db70cce34
	
	
	
		
			
			It's not necessary to fill in state immediately, as we'll be overwriting it on any API call accessing it thanks to syncContainer(). It is also causing races when we fetch it without holding the container lock (which syncContainer() does). As such, just don't retrieve the state on initial pull from the database with Bolt. Also, refactor some Linux-specific netns handling functions out of container_internal_linux.go into boltdb_linux.go. Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #1186 Approved by: rhatdan
		
			
				
	
	
		
			6 lines
		
	
	
		
			71 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			71 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build !linux
 | |
| 
 | |
| package libpod
 | |
| 
 | |
| type containerPlatformState struct{}
 |