Skip to content

Commit

Permalink
Merge pull request #246 from dosaboy/fix-zosci-config-voting-check
Browse files Browse the repository at this point in the history
Fix func target voting test
  • Loading branch information
rodrigogansobarbieri committed Sep 17, 2024
2 parents d4069db + 50741e3 commit a9fc9cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ b
bundles
ssl/*/
microk8s/dockercreds
__pycache__
2 changes: 1 addition & 1 deletion openstack/tools/func_test_tools/test_is_voting.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@
if project['name'] == "charm-functional-jobs":
for job in project['check']['jobs']:
if target_name in job:
if not job[target_name]['voting']:
if not job[target_name].get('voting', True):
sys.exit(1)

0 comments on commit a9fc9cf

Please sign in to comment.