diff --git a/src/commands/addParentJob-4.lua b/src/commands/addParentJob-4.lua index 776fbb442b..cc1cc486d1 100644 --- a/src/commands/addParentJob-4.lua +++ b/src/commands/addParentJob-4.lua @@ -92,9 +92,9 @@ end storeJob(eventsKey, jobIdKey, jobId, args[3], ARGV[2], opts, timestamp, parentKey, parentData, repeatJobKey) -local waitChildrenKey = args[6] +local waitingChildrenKey = args[6] -addJobInWaitingChildren(waitingChildrenKey, parentDependenciesKey, joIdbKey, jobId, +addJobInWaitingChildren(waitingChildrenKey, parentDependenciesKey, jobIdKey, jobId, timestamp, eventsKey, maxEvents) return jobId .. "" -- convert to string