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 
			
		
		
		
	Fix typos in comments (#4553)
This commit is contained in:
		| @@ -151,7 +151,7 @@ func TestNewConfig(t *testing.T) { | ||||
| 	for _, tt := range testCases { | ||||
| 		t.Run(tt.name, func(t *testing.T) { | ||||
| 			cfg := newConfig(tt.options...) | ||||
| 			// only check the length of readerOpts, since they are not compareable | ||||
| 			// only check the length of readerOpts, since they are not comparable | ||||
| 			assert.Equal(t, len(tt.wantConfig.readerOpts), len(cfg.readerOpts)) | ||||
| 			cfg.readerOpts = nil | ||||
| 			tt.wantConfig.readerOpts = nil | ||||
|   | ||||
| @@ -74,7 +74,7 @@ type Reader interface { | ||||
| 	// the SDK and stores it in out. An error is returned if this is called | ||||
| 	// after Shutdown or if out is nil. | ||||
| 	// | ||||
| 	// This method needs to be concurrent safe, and the cancelation of the | ||||
| 	// This method needs to be concurrent safe, and the cancellation of the | ||||
| 	// passed context is expected to be honored. | ||||
| 	Collect(ctx context.Context, rm *metricdata.ResourceMetrics) error | ||||
| 	// DO NOT CHANGE: any modification will not be backwards compatible and | ||||
|   | ||||
		Reference in New Issue
	
	Block a user