fix error
All checks were successful
Build and Publish / build-release (push) Successful in 1m29s

This commit is contained in:
2026-05-14 17:17:55 -05:00
parent d7c2c76973
commit e061f6750f
4 changed files with 23 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ import (
"context"
"encoding/json"
"fmt"
"strings"
"time"
zitadelv1alpha1 "gitea.corredorconect.com/software-engineering/zitadel-resources-operator/api/v1alpha1"
@@ -213,7 +214,9 @@ func (wr *wrappedAPIAppReconciler) reconcileApp(ctx context.Context, ztdClient *
},
)
if err != nil {
return fmt.Errorf("error updating APIApp in Zitadel: %v", err)
if !strings.Contains(err.Error(), "No Changes") {
return fmt.Errorf("error updating APIApp in Zitadel: %v", err)
}
}
}
patch := ctrlClient.MergeFrom(wr.APIApp.DeepCopy())