Skip to content

Commit d24f7e4

Browse files
committed
exclude 'all' lens from Cloud Storage export path generation
1 parent 16ab819 commit d24f7e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

definitions/output/reports/reports_dynamic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const DATE_RANGE = {
4141
*/
4242
function buildExportPath(reportConfig) {
4343
const { sql, date, metric, lens } = reportConfig
44-
const lensPath = lens && lens.name ? `${lens.name}/` : ''
44+
const lensPath = lens && lens.name && lens.name !== 'all' ? `${lens.name}/` : ''
4545
let objectPath = EXPORT_CONFIG.storagePath
4646

4747
if (sql.type === 'histogram') {

0 commit comments

Comments
 (0)