mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-04 03:27:23 -05:00 
			
		
		
		
	other is not uppercase
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
This commit is contained in:
		
							parent
							
								
									eb891d4683
								
							
						
					
					
						commit
						042abeb431
					
				@ -97,5 +97,5 @@ func sanitizeMethod(m string) string {
 | 
				
			|||||||
		return m
 | 
							return m
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return "other"
 | 
						return "OTHER"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -180,7 +180,7 @@ func sanitizeMethod(m string) string {
 | 
				
			|||||||
		return m
 | 
							return m
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return "other"
 | 
						return "OTHER"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// taken from https://github.com/prometheus/client_golang/blob/6007b2b5cae01203111de55f753e76d8dac1f529/prometheus/promhttp/instrument_server.go#L298
 | 
					// taken from https://github.com/prometheus/client_golang/blob/6007b2b5cae01203111de55f753e76d8dac1f529/prometheus/promhttp/instrument_server.go#L298
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user