 Matthew Holt
					
					5 years ago
						Matthew Holt
					
					5 years ago
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 2A349DD577D586A5
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
8 additions and 
6 deletions
			 
			
		 
		
			
				- 
					
					
					 
					sigtrap.go
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -69,12 +69,14 @@ func gracefulStop(sigName string) { | 
			
		
	
		
		
			
				
					|  |  | 		exitCode = ExitCodeFailedQuit |  |  | 		exitCode = ExitCodeFailedQuit | 
			
		
	
		
		
			
				
					|  |  | 	} |  |  | 	} | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  | 	err = stopAdminServer(adminServer) |  |  | 	if adminServer != nil { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  | 	if err != nil { |  |  | 		err = stopAdminServer(adminServer) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  | 		Log().Error("stopping admin endpoint", |  |  | 		if err != nil { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  | 			zap.String("signal", sigName), |  |  | 			Log().Error("stopping admin endpoint", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  | 			zap.Error(err)) |  |  | 				zap.String("signal", sigName), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  | 		exitCode = ExitCodeFailedQuit |  |  | 				zap.Error(err)) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					|  |  |  |  |  | 			exitCode = ExitCodeFailedQuit | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 		} | 
			
		
	
		
		
			
				
					|  |  | 	} |  |  | 	} | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  | 
 |