Skip to content

Commit f714e96

Browse files
max-ostapenkoGCP Dataform
authored andcommitted
testing fixes
1 parent d4029b4 commit f714e96

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

definitions/output/reports/reports_dynamic.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ function generateReportConfigurations() {
135135
date >= DATE_RANGE.startDate;
136136
date = constants.fnPastMonth(date)) {
137137

138-
const whitelistedMetrics = availableMetrics.Array.filter(metric => metric.enabled) // TODO: reports are whitelisted during migration
138+
const whitelistedMetrics = availableMetrics.filter(metric => metric.enabled) // TODO: reports are whitelisted during migration
139139

140140
// For each available metric
141-
whitelistMetrics.forEach(metric => {
141+
whitelistedMetrics.forEach(metric => {
142142
// For each SQL type (histogram, timeseries)
143143
metric.SQL.forEach(sql => {
144144
// For each available lens (all, top1k, wordpress, etc.)
@@ -227,7 +227,6 @@ reportConfigurations.forEach(reportConfig => {
227227
const operationName = createOperationName(reportConfig)
228228

229229
operate(operationName, {
230-
disabled: true,
231230
})
232231
.tags(['crawl_reports'])
233232
.queries(ctx => generateOperationSQL(ctx, reportConfig))

0 commit comments

Comments
 (0)