Change-Id: Ia39598d7a889fbfc07ad27f6c1f50b1140aab651
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
conditions = generic_object.get("status", {}).get("conditions", [])
else:
conditions = []
- self.logger.info(f"{item} status conditions: {conditions}")
+ self.logger.info(
+ f"Iteration {counter}/{max_iterations}. {item} status conditions: {conditions}"
+ )
result = next((item for item in conditions if item["type"] == flag), {})
if result.get("status", "False") == "True":
self.logger.info(