mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	Fix error string should not be capitalized (#2608)
From [Golang coding convention](https://github.com/golang/go/wiki/CodeReviewComments#error-strings) Co-Authored-By: Nguyen Van Trung [trungnvfet@outlook.com](mailto:trungnvfet@outlook.com) Signed-off-by: Nguyen Quang Huy [huynq0911@gmail.com](mailto:huynq0911@gmail.com)
This commit is contained in:
		
				
					committed by
					
						 Chris O'Haver
						Chris O'Haver
					
				
			
			
				
	
			
			
			
						parent
						
							c8dbfbdcd8
						
					
				
				
					commit
					42cf6606fc
				
			| @@ -42,7 +42,7 @@ func buildPool(size int) ([]*healthcheck.UpstreamHost, func(), error) { | ||||
| 		for _, e := range errs { | ||||
| 			valErr += fmt.Sprintf("%v\n", e) | ||||
| 		} | ||||
| 		return nil, nil, fmt.Errorf("Error at allocation of the pool : %v", valErr) | ||||
| 		return nil, nil, fmt.Errorf("error at allocation of the pool : %v", valErr) | ||||
| 	} | ||||
| 	return ups, stopIt, nil | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user