From 9a04ed79a3d8fe706d78f9f8f168aeecbc1e8a02 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 19 Jul 2024 12:58:00 +0100 Subject: [PATCH] conf: Clarify '[api] response_validation help' text Make it extra clear this is only for API response bodies. Change-Id: Id88c828aa7bcb1eff6dd149e8a92a19649ba4b0e Signed-off-by: Stephen Finucane --- nova/conf/api.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nova/conf/api.py b/nova/conf/api.py index ed01068306..7c422cea5b 100644 --- a/nova/conf/api.py +++ b/nova/conf/api.py @@ -403,15 +403,16 @@ validation_opts = [ ( "error", "Raise a HTTP 500 (Server Error) for responses that fail " - "schema validation", + "response body schema validation", ), ( "warn", - "Log a warning for responses that fail schema validation", + "Log a warning for responses that fail response body schema " + "validation", ), ( "ignore", - "Ignore schema validation failures", + "Ignore response body schema validation failures", ), ), default="warn",