Skip to content

Commit 7647992

Browse files
committed
Accept only 'true' for a true value to align with other code.
1 parent 038f90e commit 7647992

File tree

1 file changed

+1
-1
lines changed
  • instrumentation-genai/opentelemetry-instrumentation-google-genai/src/opentelemetry/instrumentation/google_genai

1 file changed

+1
-1
lines changed

instrumentation-genai/opentelemetry-instrumentation-google-genai/src/opentelemetry/instrumentation/google_genai/flags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ def is_content_recording_enabled():
2121
return os.getenv(
2222
_CONTENT_RECORDING_ENV_VAR,
2323
"false"
24-
).lower() in ["1", "true", "yes", "on"]
24+
).lower() == "true"

0 commit comments

Comments
 (0)