Skip to content

Commit ec329d9

Browse files
committed
rebase issue
1 parent ccbedc3 commit ec329d9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

cmd/thv-operator/pkg/sync/manager.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -303,14 +303,6 @@ func (s *DefaultSyncManager) calculateNextSyncTime(ctx context.Context, mcpRegis
303303
return requeueElapsed, &nextSyncTime
304304
}
305305

306-
// isRequeueElapsed checks if the requeue time has elapsed
307-
func (*DefaultSyncManager) isRequeueElapsed(mcpRegistry *mcpv1alpha1.MCPRegistry) bool {
308-
if mcpRegistry.Status.SyncStatus != nil && mcpRegistry.Status.SyncStatus.LastAttempt != nil {
309-
return time.Now().After(mcpRegistry.Status.SyncStatus.LastAttempt.Add(DefaultSyncRequeueAfter))
310-
}
311-
return true
312-
}
313-
314306
// PerformSync performs the complete sync operation for the MCPRegistry
315307
// The controller is responsible for setting sync status via the status collector
316308
func (s *DefaultSyncManager) PerformSync(

0 commit comments

Comments
 (0)