This commit is contained in:
@@ -19,6 +19,7 @@ package controller
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
zitadelv1alpha1 "gitea.corredorconect.com/software-engineering/zitadel-resources-operator/api/v1alpha1"
|
||||
@@ -239,7 +240,9 @@ func (wr *wrappedOIDCAppReconciler) Reconcile(ctx context.Context, ztdClient *cl
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error updating OIDCApp in Zitadel: %v", err)
|
||||
if !strings.Contains(err.Error(), "No Changes") {
|
||||
return fmt.Errorf("error updating OIDCApp in Zitadel: %v", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
patch := ctrlClient.MergeFrom(wr.OIDCApp.DeepCopy())
|
||||
|
||||
Reference in New Issue
Block a user