Skip to content

Commit 004eaac

Browse files
committed
feat: implement compliance orchestrator backend client and evaluation logic
1 parent dc67353 commit 004eaac

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

plugins/compliance-orchestrator/scheduler/scheduler.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,6 @@ func StartScheduler(ctx context.Context, backend *client.BackendClient) {
1616

1717
ticker := time.NewTicker(24 * time.Hour)
1818

19-
// TODO: ELENA QUITAR - Ejecutar inmediatamente
20-
configs, err := backend.GetControlConfigs(ctx)
21-
if err == nil {
22-
catcher.Info("Scheduler: sending configs", map[string]any{
23-
"cantidad": len(configs),
24-
"timestamp": time.Now().String(),
25-
})
26-
27-
for _, cfg := range configs {
28-
Jobs <- cfg
29-
}
30-
} // HASTA AQUI
31-
3219
for {
3320
select {
3421
case <-ctx.Done():

0 commit comments

Comments
 (0)