Add orgid
[ZITADOPER-1]
This commit is contained in:
@@ -115,7 +115,9 @@ func (wr *wrappedOrganizationReconciler) Reconcile(ctx context.Context, ztdClien
|
|||||||
wr.organization.Status.OrgId = resp.Id
|
wr.organization.Status.OrgId = resp.Id
|
||||||
return wr.Client.Status().Patch(ctx, wr.organization, patch)
|
return wr.Client.Status().Patch(ctx, wr.organization, patch)
|
||||||
}
|
}
|
||||||
return nil
|
patch := ctrlClient.MergeFrom(wr.organization.DeepCopy())
|
||||||
|
wr.organization.Status.OrgId = orgRes.Org.Id
|
||||||
|
return wr.Client.Status().Patch(ctx, wr.organization, patch)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (wr *wrappedOrganizationReconciler) PatchStatus(ctx context.Context, patcher condition.Patcher) error {
|
func (wr *wrappedOrganizationReconciler) PatchStatus(ctx context.Context, patcher condition.Patcher) error {
|
||||||
|
|||||||
Reference in New Issue
Block a user