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

gitlab_group => Make most options optional #6712

Merged
merged 9 commits into from
Jun 18, 2023
Prev Previous commit
Next Next commit
Remove whitespace
  • Loading branch information
Intellium authored Jun 15, 2023
commit 3173e1424efe546c900d471ff3a403daa7eb5d26
2 changes: 1 addition & 1 deletion plugins/modules/gitlab_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def create_group(self, arguments):
filtered = {arg_key: arg_value for arg_key, arg_value in arguments.items() if arg_value is not None}
arguments.clear()
arguments.update(filtered)

group = self._gitlab.groups.create(arguments)
except (gitlab.exceptions.GitlabCreateError) as e:
self._module.fail_json(msg="Failed to create group: %s " % to_native(e))
Expand Down