Skip to content

Commit 21ce3b5

Browse files
committed
Fix bug in sample where iargs wasn't set
1 parent ce7c0e1 commit 21ce3b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/controller/controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ func NewController(iargs args.InjectArgs) *controller.GenericController {
6969
samplescheme.AddToScheme(scheme.Scheme)
7070

7171
c := &Controller{
72+
InjectArgs: iargs,
7273
recorder: iargs.CreateRecorder(controllerAgentName),
7374
}
7475

0 commit comments

Comments
 (0)