Skip to content

Commit

Permalink
update comment for span decorator to reflect new method name
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mchok committed Nov 21, 2024
1 parent 05d81a9 commit e96a0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snowflake/cli/api/cli_global_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def span(span_name: str):
"""
Decorator to start a command metrics span that encompasses a whole function
Must be used instead of directly calling @get_cli_context().metrics.start_span(span_name)
Must be used instead of directly calling @get_cli_context().metrics.span(span_name)
as a decorator to ensure that the cli context is grabbed at run time instead of at
module load time, which would not reflect forking
"""
Expand Down

0 comments on commit e96a0ee

Please sign in to comment.