Merge pull request #2894 from oauth2-proxy/fix-lint
Fix linting after updating golangci-lint to 1.62.2
This commit is contained in:
		
						commit
						cdcc62014d
					
				|  | @ -38,8 +38,8 @@ var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") | ||||||
| func randSeq(n int) string { | func randSeq(n int) string { | ||||||
| 	b := make([]rune, n) | 	b := make([]rune, n) | ||||||
| 	for i := range b { | 	for i := range b { | ||||||
| 		max := big.NewInt(int64(len(letters))) | 		maxInt := big.NewInt(int64(len(letters))) | ||||||
| 		bigN, err := rand.Int(rand.Reader, max) | 		bigN, err := rand.Int(rand.Reader, maxInt) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			// This should never happen
 | 			// This should never happen
 | ||||||
| 			panic(err) | 			panic(err) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue