mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Fix mount issue in dockershim.
This commit is contained in:
		@@ -227,7 +227,8 @@ func (ds *dockerService) ContainerStatus(containerID string) (*runtimeApi.Contai
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	// Convert the mounts.
 | 
						// Convert the mounts.
 | 
				
			||||||
	mounts := []*runtimeApi.Mount{}
 | 
						mounts := []*runtimeApi.Mount{}
 | 
				
			||||||
	for _, m := range r.Mounts {
 | 
						for i := range r.Mounts {
 | 
				
			||||||
 | 
							m := r.Mounts[i]
 | 
				
			||||||
		readonly := !m.RW
 | 
							readonly := !m.RW
 | 
				
			||||||
		mounts = append(mounts, &runtimeApi.Mount{
 | 
							mounts = append(mounts, &runtimeApi.Mount{
 | 
				
			||||||
			Name:          &m.Name,
 | 
								Name:          &m.Name,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user