Skip to content

Commit

Permalink
Actual bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
begelundmuller committed Feb 3, 2025
1 parent 714e312 commit ebb2523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/reconcilers/source.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (r *SourceReconciler) Reconcile(ctx context.Context, n *runtimev1.ResourceN

// Rename and update state
err = olapForceRenameTable(ctx, r.C, src.State.Connector, src.State.Table, false, tableName)
if err != nil {
if err == nil {
src.State.Table = tableName
err = r.C.UpdateState(ctx, self.Meta.Name, self)
}
Expand Down

0 comments on commit ebb2523

Please sign in to comment.