Fix onTick handler

This commit is contained in:
Girish Ramakrishnan
2019-04-27 09:53:35 -07:00
parent 292f0624fb
commit cd6d97c3eb

View File

@@ -69,7 +69,7 @@ function startPreActivationJobs(callback) {
gJobs.caasHeartbeat = new CronJob({
cronTime: `${seconds} */1 * * * *`, // every minute
onTick: caas.sendHeartbeat(NOOP_CALLBACK),
onTick: () => caas.sendHeartbeat(NOOP_CALLBACK),
start: true
});
}