[BRANDING] healthcheck/check.go
(cherry picked from commitd703a236ce) (cherry picked from commitd84ce3ff20) (cherry picked from commit2dbb844606)
This commit is contained in:
		
							parent
							
								
									191d96afe4
								
							
						
					
					
						commit
						14d3ae7e3a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -105,7 +105,7 @@ func checkDatabase(ctx context.Context, checks checks) status {
 | 
			
		|||
		if !setting.EnableSQLite3 {
 | 
			
		||||
			st.Status = fail
 | 
			
		||||
			st.Time = getCheckTime()
 | 
			
		||||
			log.Error("SQLite3 health check failed with error: %v", "this Gitea binary is built without SQLite3 enabled")
 | 
			
		||||
			log.Error("SQLite3 health check failed with error: %v", "this Forgejo binary is built without SQLite3 enabled")
 | 
			
		||||
		} else {
 | 
			
		||||
			if _, err := os.Stat(setting.Database.Path); err != nil {
 | 
			
		||||
				st.Status = fail
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue