Skip to content

Commit 0be5c28

Browse files
author
luke.blackburn-bcb
committed
fix: correcting boolean syntax
1 parent 9fb4bde commit 0be5c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/projects.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func (g *GitLabProject) GetID() (int, error) {
107107
if g.Name == "" {
108108
return 0, errors.New("insufficient information for project - name or id must be provided")
109109
}
110-
projSearch, _, err := g.client.Groups.ListGroupProjects(g.GroupID, &gitlab.ListGroupProjectsOptions{Search: gitlab.String(g.Name), IncludeSubGroups: true})
110+
projSearch, _, err := g.client.Groups.ListGroupProjects(g.GroupID, &gitlab.ListGroupProjectsOptions{Search: gitlab.String(g.Name), IncludeSubGroups: gitlab.Bool(true)})
111111
if err != nil {
112112
return 0, errors.New(fmt.Sprintf("could not determine group ID: %v", err))
113113
}

0 commit comments

Comments
 (0)