Skip to content

Commit b8ba229

Browse files
committed
Resolves variable naming conflict
1 parent 9e17933 commit b8ba229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/patterns/declarative/reconciler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929
"k8s.io/apimachinery/pkg/runtime"
3030
"k8s.io/apimachinery/pkg/types"
3131
"k8s.io/client-go/rest"
32-
"k8s.io/client-go/tools/record"
32+
recorder "k8s.io/client-go/tools/record"
3333
"sigs.k8s.io/controller-runtime/pkg/client"
3434
"sigs.k8s.io/controller-runtime/pkg/client/apiutil"
3535
"sigs.k8s.io/controller-runtime/pkg/log"
@@ -54,7 +54,7 @@ type Reconciler struct {
5454
mgr manager.Manager
5555

5656
// recorder is the EventRecorder for creating k8s events
57-
recorder record.EventRecorder
57+
recorder recorder.EventRecorder
5858

5959
options reconcilerParams
6060
}

0 commit comments

Comments
 (0)