Skip to content

Commit

Permalink
fix: correcting boolean syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
luke.blackburn-bcb committed Jul 15, 2024
1 parent 9fb4bde commit 0be5c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (g *GitLabProject) GetID() (int, error) {
if g.Name == "" {
return 0, errors.New("insufficient information for project - name or id must be provided")
}
projSearch, _, err := g.client.Groups.ListGroupProjects(g.GroupID, &gitlab.ListGroupProjectsOptions{Search: gitlab.String(g.Name), IncludeSubGroups: true})
projSearch, _, err := g.client.Groups.ListGroupProjects(g.GroupID, &gitlab.ListGroupProjectsOptions{Search: gitlab.String(g.Name), IncludeSubGroups: gitlab.Bool(true)})
if err != nil {
return 0, errors.New(fmt.Sprintf("could not determine group ID: %v", err))
}
Expand Down

0 comments on commit 0be5c28

Please sign in to comment.