fix(BRIDGE-336): check and create all labels in Gluon on Bridge start

This commit is contained in:
Atanas Janeshliev
2025-03-25 13:24:50 +01:00
parent a15d4eb3ef
commit a4b315d67a
5 changed files with 5 additions and 55 deletions

View File

@ -138,11 +138,10 @@ func (t *Handler) run(ctx context.Context,
}
if syncStatus.IsComplete() {
t.log.Info("Sync already complete, only system labels will be updated")
if err := updateApplier.SyncSystemLabelsOnly(ctx, labels); err != nil {
t.log.WithError(err).Error("Failed to sync system labels")
t.log.Info("Sync already complete, updating labels")
if err := updateApplier.SyncLabels(ctx, labels); err != nil {
t.log.WithError(err).Error("Failed to sync labels")
return err
}