From c1609ea9d95dfa90bc06b348e1592c3651fccc93 Mon Sep 17 00:00:00 2001 From: mr Date: Thu, 12 Mar 2026 11:57:24 +0100 Subject: [PATCH] rename behaviors --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 16b8a04..284a6e1 100644 --- a/main.go +++ b/main.go @@ -43,9 +43,9 @@ func main() { exe_mngr := daemons.ExecutionManager{} go tools.NewNATSCaller().ListenNats(map[tools.NATSMethod]func(tools.NATSResponse){ - tools.CREATE_EXECTUTION: sch_mngr.GetNextScheduledWorkflows, // TODO: unused for now... - tools.WORKFLOW_EVENT: sch_mngr.ExecuteWorkflow, - tools.REMOVE_EXECUTION: daemons.Executions.DeleteSchedules, // TODO: unused for now... + tools.CREATE_EXECUTION: sch_mngr.GetNextScheduledWorkflows, // TODO: unused for now... + tools.WORKFLOW_EVENT: sch_mngr.ExecuteWorkflow, + tools.REMOVE_EXECUTION: daemons.Executions.DeleteSchedules, // TODO: unused for now... }) go sch_mngr.SchedulePolling() exe_mngr.RetrieveNextExecutions()