Skip to content

Commit 790fab7

Browse files
authored
patch correct cluster (#3038)
1 parent 5db56e5 commit 790fab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/generated/controller/cluster/handler_v20250312.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ func (h *Handlerv20250312) patchStatus(ctx context.Context, cluster *akov2genera
319319
return fmt.Errorf("failed to translate Cluster from Atlas: %w", err)
320320
}
321321

322-
return ctrlstate.NewPatcher(cluster).
322+
return ctrlstate.NewPatcher(clusterCopy).
323323
UpdateStateTracker(deps...).
324324
UpdateStatus().
325325
Patch(ctx, h.kubeClient)

0 commit comments

Comments
 (0)