File tree 2 files changed +1
-13
lines changed
2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ package component
17
17
import (
18
18
"context"
19
19
20
- "go.uber.org/zap"
21
-
22
20
"go.opentelemetry.io/collector/config"
23
21
)
24
22
@@ -62,16 +60,6 @@ type Component interface {
62
60
Shutdown (ctx context.Context ) error
63
61
}
64
62
65
- // Settings is passed to ReceiverFactory.Create* functions.
66
- type Settings struct {
67
- // Logger that the factory can use during creation and can pass to the created
68
- // component to be used later as well.
69
- Logger * zap.Logger
70
-
71
- // BuildInfo can be used by components for informational purposes
72
- BuildInfo BuildInfo
73
- }
74
-
75
63
// Kind represents component kinds.
76
64
type Kind int
77
65
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ func TestWindowsService_Execute(t *testing.T) {
34
34
factories , err := defaultcomponents .Components ()
35
35
require .NoError (t , err )
36
36
37
- s := NewWindowsService (svcSettings {BuildInfo : component .DefaultBuildInfo (), Factories : factories })
37
+ s := NewWindowsService (AppSettings {BuildInfo : component .DefaultBuildInfo (), Factories : factories })
38
38
39
39
appDone := make (chan struct {})
40
40
requests := make (chan svc.ChangeRequest )
You can’t perform that action at this time.
0 commit comments