mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-14 12:48:01 +00:00
fix(mirror): include fields in mirror projections (#9884)
# Which Problems Are Solved - fields projections were not projected during mirror # How the Problems Are Solved - an extra step during projections was added to mirror the fields # Additional Changes none # Additional Context none
This commit is contained in:
@@ -283,6 +283,13 @@ func execProjections(ctx context.Context, es *eventstore.Eventstore, instances <
|
||||
continue
|
||||
}
|
||||
|
||||
err = projection.ProjectInstanceFields(ctx)
|
||||
if err != nil {
|
||||
logging.WithFields("instance", instance).WithError(err).Info("trigger fields failed")
|
||||
failedInstances <- instance
|
||||
continue
|
||||
}
|
||||
|
||||
err = auth_handler.ProjectInstance(ctx)
|
||||
if err != nil {
|
||||
logging.WithFields("instance", instance).OnError(err).Info("trigger auth handler failed")
|
||||
|
Reference in New Issue
Block a user