Update sanitization mode logging

Changed the way sanitization mode is logged to use its value instead of the object directly. This improves clarity in the success message.
This commit is contained in:
Jonathon Broughton
2025-03-25 00:20:29 +00:00
parent ce2aea85bd
commit 8191c3c743
+1 -1
View File
@@ -90,6 +90,6 @@ def automate_function(
automate_context.mark_run_success(
f"Parameters processed successfully with shield function "
f"{function_inputs.sanitization_mode}"
f"{function_inputs.sanitization_mode.value}"
f"{' running in strict mode' if function_inputs.strict_mode else ''}."
)