Skip to content

Commit 0a4cd06

Browse files
Update metadata-ingestion/src/datahub/ingestion/source/looker/looker_template_language.py
Co-authored-by: Mayuri Nehate <[email protected]>
1 parent 3d1443a commit 0a4cd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metadata-ingestion/src/datahub/ingestion/source/looker/looker_template_language.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ def replace_constants(match):
409409
)
410410
return f"@{{{key}}}"
411411

412-
self.reporter.report_warning(
412+
self.reporter.warning(
413413
title="LookML constant not found",
414414
message="The constant is missing. Either add it under 'lookml_constants' in the config or define it in `manifest.lkml`.",
415415
context=f"view-name: {view_name}, constant: {key}",

0 commit comments

Comments
 (0)