Backport/2.8/57024 (#57846)

* Adds visibility parameter to gitlab group creation (#57024)

(cherry picked from commit e7bf46d8bc)

* Add changelog for backport/2.8/57024
This commit is contained in:
Guillaume Martinez 2019-06-18 06:32:43 +02:00 committed by Toshio Kuratomi
parent 0cc78fa3af
commit 0f651baf41
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- gitlab_group - Adds missing visibility parameter to gitlab group creation

View file

@ -188,7 +188,8 @@ class GitLabGroup(object):
group = self.createGroup({ group = self.createGroup({
'name': name, 'name': name,
'path': options['path'], 'path': options['path'],
'parent_id': parent_id}) 'parent_id': parent_id,
'visibility': options['visibility']})
changed = True changed = True
else: else:
changed, group = self.updateGroup(self.groupObject, { changed, group = self.updateGroup(self.groupObject, {