We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2629b63 commit f726aa6Copy full SHA for f726aa6
lambdas/functions/control-plane/src/scale-runners/scale-down-config.ts
@@ -15,7 +15,7 @@ const logger = createChildLogger('scale-down-config.ts');
15
16
function inPeriod(period: ScalingDownConfig): boolean {
17
const now = moment(new Date());
18
- const expr = parser.parseExpression(period.cron, {
+ const expr = parser.parse(period.cron, {
19
tz: period.timeZone,
20
});
21
const next = moment(expr.next().toDate());
0 commit comments