From 4b5c8fbf10148bfb2a470c5a0dd7f220ee126e3f Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 12 Aug 2021 12:27:43 -0700 Subject: [PATCH] use new yaml structure --- tests/suite/test_annotations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suite/test_annotations.py b/tests/suite/test_annotations.py index 251906c80c..06d097d12b 100644 --- a/tests/suite/test_annotations.py +++ b/tests/suite/test_annotations.py @@ -51,7 +51,7 @@ def get_minions_info_from_yaml(file) -> []: for dep in docs: if 'minion' in dep['metadata']['name']: res.append({"name": dep['metadata']['name'], - "svc_name": dep['spec']['rules'][0]['http']['paths'][0]['backend']['serviceName']}) + "svc_name": dep['spec']['rules'][0]['http']['paths'][0]['backend']['service']['name']}) return res