Skip to content

Commit

Permalink
fixed event
Browse files Browse the repository at this point in the history
  • Loading branch information
facchettos committed Jul 18, 2024
1 parent f9d9517 commit f76312b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/resources/poddisruptionbudgets/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (pdb *pdbSyncer) Sync(ctx *synccontext.SyncContext, pObj client.Object, vOb
retErr = utilerrors.NewAggregate([]error{retErr, err})
}
if retErr != nil {
pdb.NamespacedTranslator.EventRecorder().Eventf(pObj, "Warning", "SyncError", "Error syncing: %v", retErr)
pdb.NamespacedTranslator.EventRecorder().Eventf(vObj, "Warning", "SyncError", "Error syncing: %v", retErr)
}
}()

Expand Down

0 comments on commit f76312b

Please sign in to comment.