mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Avoid a data race in container/health.go
Signed-off-by: Ziheng Liu <lzhfromustc@gmail.com>
This commit is contained in:
		
							parent
							
								
									582591d56b
								
							
						
					
					
						commit
						53e0c50126
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -22,7 +22,7 @@ func (s *Health) String() string {
 | 
			
		|||
	case types.Starting:
 | 
			
		||||
		return "health: starting"
 | 
			
		||||
	default: // Healthy and Unhealthy are clear on their own
 | 
			
		||||
		return s.Health.Status
 | 
			
		||||
		return status
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue