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

@@ -110,6 +110,21 @@ func (in *APIAppStatus) DeepCopyInto(out *APIAppStatus) {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.AppId != nil {
in, out := &in.AppId, &out.AppId
*out = new(string)
**out = **in
}
if in.ClientId != nil {
in, out := &in.ClientId, &out.ClientId
*out = new(string)
**out = **in
}
if in.KeyId != nil {
in, out := &in.KeyId, &out.KeyId
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIAppStatus.

View File

@@ -1 +0,0 @@
/nix/store/qvb6qhrkmrg9nczj8wavivjlzdin5iv7-zitadel-resources-operator-0.0.0

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())

View File

@@ -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())