@@ -179,8 +179,8 @@ func TestReconcilePGBackRest(t *testing.T) {
179179 ctx , cancel := setupManager (t , cfg , func (mgr manager.Manager ) {
180180 r = & Reconciler {
181181 Client : mgr .GetClient (),
182- Recorder : mgr .GetEventRecorderFor (ControllerName ),
183- Owner : ControllerName ,
182+ Recorder : mgr .GetEventRecorderFor (controllerName ),
183+ Owner : controllerName ,
184184 }
185185 })
186186 t .Cleanup (func () { teardownManager (cancel , t ) })
@@ -805,8 +805,8 @@ func TestReconcileStanzaCreate(t *testing.T) {
805805 ctx , cancel := setupManager (t , cfg , func (mgr manager.Manager ) {
806806 r = & Reconciler {
807807 Client : mgr .GetClient (),
808- Recorder : mgr .GetEventRecorderFor (ControllerName ),
809- Owner : ControllerName ,
808+ Recorder : mgr .GetEventRecorderFor (controllerName ),
809+ Owner : controllerName ,
810810 }
811811 })
812812 t .Cleanup (func () { teardownManager (cancel , t ) })
@@ -1087,8 +1087,8 @@ func TestReconcileManualBackup(t *testing.T) {
10871087 _ , cancel := setupManager (t , cfg , func (mgr manager.Manager ) {
10881088 r = & Reconciler {
10891089 Client : mgr .GetClient (),
1090- Recorder : mgr .GetEventRecorderFor (ControllerName ),
1091- Owner : ControllerName ,
1090+ Recorder : mgr .GetEventRecorderFor (controllerName ),
1091+ Owner : controllerName ,
10921092 }
10931093 })
10941094 t .Cleanup (func () { teardownManager (cancel , t ) })
@@ -1831,8 +1831,8 @@ func TestReconcilePostgresClusterDataSource(t *testing.T) {
18311831 ctx , cancel := setupManager (t , cfg , func (mgr manager.Manager ) {
18321832 r = & Reconciler {
18331833 Client : tClient ,
1834- Recorder : mgr .GetEventRecorderFor (ControllerName ),
1835- Owner : ControllerName ,
1834+ Recorder : mgr .GetEventRecorderFor (controllerName ),
1835+ Owner : controllerName ,
18361836 }
18371837 })
18381838 t .Cleanup (func () { teardownManager (cancel , t ) })
@@ -2210,8 +2210,8 @@ func TestReconcileCloudBasedDataSource(t *testing.T) {
22102210 ctx , cancel := setupManager (t , cfg , func (mgr manager.Manager ) {
22112211 r = & Reconciler {
22122212 Client : tClient ,
2213- Recorder : mgr .GetEventRecorderFor (ControllerName ),
2214- Owner : ControllerName ,
2213+ Recorder : mgr .GetEventRecorderFor (controllerName ),
2214+ Owner : controllerName ,
22152215 }
22162216 })
22172217 t .Cleanup (func () { teardownManager (cancel , t ) })
@@ -2635,7 +2635,7 @@ func TestGenerateBackupJobIntent(t *testing.T) {
26352635
26362636 r := & Reconciler {
26372637 Client : cc ,
2638- Owner : ControllerName ,
2638+ Owner : controllerName ,
26392639 }
26402640
26412641 ctx := context .Background ()
@@ -3931,8 +3931,8 @@ func TestReconcileScheduledBackups(t *testing.T) {
39313931 _ , cancel := setupManager (t , cfg , func (mgr manager.Manager ) {
39323932 r = & Reconciler {
39333933 Client : mgr .GetClient (),
3934- Recorder : mgr .GetEventRecorderFor (ControllerName ),
3935- Owner : ControllerName ,
3934+ Recorder : mgr .GetEventRecorderFor (controllerName ),
3935+ Owner : controllerName ,
39363936 }
39373937 })
39383938 t .Cleanup (func () { teardownManager (cancel , t ) })
@@ -4267,8 +4267,8 @@ func TestBackupsEnabled(t *testing.T) {
42674267 ctx , cancel := setupManager (t , cfg , func (mgr manager.Manager ) {
42684268 r = & Reconciler {
42694269 Client : mgr .GetClient (),
4270- Recorder : mgr .GetEventRecorderFor (ControllerName ),
4271- Owner : ControllerName ,
4270+ Recorder : mgr .GetEventRecorderFor (controllerName ),
4271+ Owner : controllerName ,
42724272 }
42734273 })
42744274 t .Cleanup (func () { teardownManager (cancel , t ) })
0 commit comments