Skip to content

Commit

Permalink
fix key being used for metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mchok committed Sep 20, 2024
1 parent f2def23 commit ef26a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snowflake/cli/api/utils/definition_rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def _update_metrics(template_env: TemplatedEnvironment, definition: Definition):
metrics.add_counter(CLICounterField.PDF_TEMPLATES, 0)

if _has_referenced_vars_in_definition(template_env, definition):
metrics.set_counter(CLICounterField, 1)
metrics.set_counter(CLICounterField.PDF_TEMPLATES, 1)


def render_definition_template(
Expand Down

0 comments on commit ef26a09

Please sign in to comment.