Skip to content

Commit a938ac4

Browse files
comment fix
1 parent 8f0f411 commit a938ac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airflow/utils/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _build_metrics(func_name, namespace):
145145
sensitive_fields = {"-p", "--password", "--conn-password"}
146146
full_command = list(sys.argv)
147147
sub_command = full_command[1] if len(full_command) > 1 else None
148-
# For cases when value in variables have sensitive value
148+
# For cases when value under sub_commands_to_check_for_sensitive_key have sensitive info
149149
if sub_command in sub_commands_to_check_for_sensitive_key:
150150
key = full_command[-2] if len(full_command) > 3 else None
151151
if key and should_hide_value_for_key(key):

0 commit comments

Comments
 (0)