Skip to content

Commit

Permalink
[chore] avoid mixing pointer and non-pointer receiver on struct funct…
Browse files Browse the repository at this point in the history
…ions (#10667)

Fix an IDE warning about mixing receiver types.
  • Loading branch information
atoulme committed Aug 7, 2024
1 parent 72c7d7f commit d924855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connector/internal/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,11 @@ func (f CreateProfilesToLogsFunc) CreateProfilesToLogs(
}

// Type returns the type of component.
func (f *factory) Type() component.Type {
func (f factory) Type() component.Type {
return f.cfgType
}

func (f *factory) unexportedFactoryFunc() {}
func (f factory) unexportedFactoryFunc() {}

func (f factory) TracesToTracesStability() component.StabilityLevel {
return f.tracesToTracesStabilityLevel
Expand Down

0 comments on commit d924855

Please sign in to comment.