Skip to content

Commit 47fb1dd

Browse files
committed
fix the comment
Signed-off-by: Zhiying Lin <[email protected]>
1 parent ca29c4b commit 47fb1dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controllers/rollout/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req runtime.Request) (runtim
146146

147147
// find the master resourceSnapshot.
148148
// Use the cached client so that rollout controller and work-generator have the same view of the
149-
// resourceSnapshots.
149+
// resourceSnapshots in order to reduce the possibility of missing resourceSnapshots in work-generator.
150150
masterResourceSnapshot, err := controller.FetchLatestMasterResourceSnapshot(ctx, r.Client, placementKey)
151151
if err != nil {
152152
klog.ErrorS(err, "Failed to find the masterResourceSnapshot for the placement",

0 commit comments

Comments
 (0)