Skip to content

Commit d924855

Browse files
authored
[chore] avoid mixing pointer and non-pointer receiver on struct functions (#10667)
Fix an IDE warning about mixing receiver types.
1 parent 72c7d7f commit d924855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connector/internal/factory.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,11 +389,11 @@ func (f CreateProfilesToLogsFunc) CreateProfilesToLogs(
389389
}
390390

391391
// Type returns the type of component.
392-
func (f *factory) Type() component.Type {
392+
func (f factory) Type() component.Type {
393393
return f.cfgType
394394
}
395395

396-
func (f *factory) unexportedFactoryFunc() {}
396+
func (f factory) unexportedFactoryFunc() {}
397397

398398
func (f factory) TracesToTracesStability() component.StabilityLevel {
399399
return f.tracesToTracesStabilityLevel

0 commit comments

Comments
 (0)