Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix problem when missing reviewers #20

Open
marwin1991 opened this issue Jun 4, 2024 · 0 comments
Open

fix problem when missing reviewers #20

marwin1991 opened this issue Jun 4, 2024 · 0 comments

Comments

@marwin1991
Copy link
Contributor

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/opt/valhalla/__main__.py", line 4, in <module>
    start()
  File "/opt/valhalla/valhalla/main.py", line 35, in start
    create_merge_request(config.merge_request)
  File "/opt/valhalla/valhalla/main.py", line 57, in create_merge_request
    merge_request.create(merge_request_config)
  File "/opt/valhalla/valhalla/ci_provider/gitlab/merge_request.py", line 45, in create
    'reviewer_ids': self.__get_reviewer_ids(merge_request_config.reviewers)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/valhalla/valhalla/ci_provider/gitlab/merge_request.py", line 54, in __get_reviewer_ids
    for rev in reviewers:
TypeError: 'NoneType' object is not iterable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant