Skip to content

Commit cc45273

Browse files
fix(example): typo
1 parent 9156be6 commit cc45273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/smartrequeue/example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func Example_controllerUsage() {
1515
store := smartrequeue.NewStore(5*time.Second, 10*time.Minute, 2.0)
1616

1717
// In your controller's Reconcile function:
18-
reconcileFunction := func(req ctrl.Request) (ctrl.Result, error) {
18+
reconcileFunction := func(_ ctrl.Request) (ctrl.Result, error) {
1919
// Create a dummy object representing what you'd get from the client
2020
var obj client.Object // In real code: Get this from the client
2121

0 commit comments

Comments
 (0)