Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Eikykun committed Mar 4, 2024
1 parent 2f3c87b commit f12f4d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/collaset/synccontrol/sync_control.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ func (r *RealSyncControl) Update(
// 4. begin podOpsLifecycle parallel
updating := false
withDeleteUpdateAdapter := podopslifecycle.WithDelete(collasetutils.UpdateOpsLifecycleAdapter)
succCount, err := controllerutils.SlowStartBatch(len(podCh), controllerutils.SlowStartInitialBatchSize, false, func(_ int, err error) error {
succCount, err := controllerutils.SlowStartBatch(len(podCh), controllerutils.SlowStartInitialBatchSize, false, func(int, error) error {
podInfo := <-podCh
// analyse Pod to get update information
if err = updater.AnalyseAndGetUpdatedPod(resources.UpdatedRevision, podInfo); err != nil {
Expand Down

0 comments on commit f12f4d7

Please sign in to comment.