From 80e395129d325ea9bb4262862b84fdf0d1c13437 Mon Sep 17 00:00:00 2001 From: Carlos Nihelton Date: Thu, 16 Feb 2023 08:37:29 -0300 Subject: [PATCH] Updates POST comment. --- subiquity/common/apidef.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/subiquity/common/apidef.py b/subiquity/common/apidef.py index 8e891581..32ca5336 100644 --- a/subiquity/common/apidef.py +++ b/subiquity/common/apidef.py @@ -409,11 +409,7 @@ class API: class active_directory: def GET() -> Optional[ADConnectionInfo]: ... - # POST must validate the payload before configuring the controller, - # which may contain several errors as described in [ADValidationResult] - # simultaneously - such as invalid chars on the admin name and DC name - # starting with a hyphen or a dot. Thus this must returns a List - # of errors [ADValidationResult.OK] on success. + # POST expects input validated by the check methods below: def POST(data: Payload[ADConnectionInfo]) -> None: ... class check_domain_name: