Skip to content

Commit

Permalink
use new yaml structure
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Aug 12, 2021
1 parent 6fac031 commit 4b5c8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/suite/test_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 4b5c8fb

Please sign in to comment.