From f307815cb8a2faa06fb943fc048c8e0de07b774f Mon Sep 17 00:00:00 2001
From: Karel van Klink <karel.vanklink@geant.org>
Date: Thu, 18 Apr 2024 10:55:58 +0200
Subject: [PATCH] Updated the headless LSO interaction

---
 gso/services/lso_client.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gso/services/lso_client.py b/gso/services/lso_client.py
index 6bd5e9c0..6e1ec8fa 100644
--- a/gso/services/lso_client.py
+++ b/gso/services/lso_client.py
@@ -192,16 +192,16 @@ def indifferent_lso_interaction(provisioning_step: Step) -> StepList:
     )
 
 
-def anonymous_lso_interaction(provisioning_step: Step, validation_step: Step = _ignore_results) -> StepList:
+def anonymous_lso_interaction(provisioning_step: Step, validation_step: Step = _evaluate_results) -> StepList:
     """Interact with the provisioning proxy :term:`LSO` without any user input.
 
-    Going one step further than the indifferent :term:`LSO` interaction, is the anonymous interaction. Output is ignored
-    and no input step is created to display the results.
+    Similar to the indifferent :term:`LSO` interaction, there also is the anonymous interaction. Output is not ignored
+    but no input step is created to display the results.
     A custom validation step may be given as input. This validation step should look inside the ``callback_result`` key
-    in the current state.
+    in the current state. By default, only the return code of the playbook execution is evaluated.
 
     :param Step provisioning_step: A workflow step to remotely provision a subscription.
-    :param Step validation_step: An optional validation step which defaults to a step that ignores the results.
+    :param Step validation_step: An optional validation step which defaults to a step that evaluates the return code.
     """
     return (
         begin
-- 
GitLab