You've already forked opentelemetry-go
							
							
				mirror of
				https://github.com/open-telemetry/opentelemetry-go.git
				synced 2025-10-31 00:07:40 +02:00 
			
		
		
		
	nit: Fix comment to be up-to-date (#1510)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										2
									
								
								trace.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								trace.go
									
									
									
									
									
								
							| @@ -22,7 +22,7 @@ import ( | |||||||
| // Tracer creates a named tracer that implements Tracer interface. | // Tracer creates a named tracer that implements Tracer interface. | ||||||
| // If the name is an empty string then provider uses default name. | // If the name is an empty string then provider uses default name. | ||||||
| // | // | ||||||
| // This is short for TracerProvider().Tracer(name) | // This is short for GetTracerProvider().Tracer(name) | ||||||
| func Tracer(name string) trace.Tracer { | func Tracer(name string) trace.Tracer { | ||||||
| 	return GetTracerProvider().Tracer(name) | 	return GetTracerProvider().Tracer(name) | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user