Commit 96446cb1 authored by Ben Getsug's avatar Ben Getsug Committed by Sander van Harmelen

changing builds service to jobs service (#166)

parent f4f1b4fc
...@@ -169,11 +169,11 @@ type Client struct { ...@@ -169,11 +169,11 @@ type Client struct {
// Services used for talking to different parts of the GitLab API. // Services used for talking to different parts of the GitLab API.
Branches *BranchesService Branches *BranchesService
BuildVariables *BuildVariablesService BuildVariables *BuildVariablesService
Builds *BuildsService
Commits *CommitsService Commits *CommitsService
DeployKeys *DeployKeysService DeployKeys *DeployKeysService
Groups *GroupsService Groups *GroupsService
Issues *IssuesService Issues *IssuesService
Jobs *JobsService
Labels *LabelsService Labels *LabelsService
MergeRequests *MergeRequestsService MergeRequests *MergeRequestsService
Milestones *MilestonesService Milestones *MilestonesService
...@@ -234,11 +234,11 @@ func newClient(httpClient *http.Client, tokenType tokenType, token string) *Clie ...@@ -234,11 +234,11 @@ func newClient(httpClient *http.Client, tokenType tokenType, token string) *Clie
c.Branches = &BranchesService{client: c} c.Branches = &BranchesService{client: c}
c.BuildVariables = &BuildVariablesService{client: c} c.BuildVariables = &BuildVariablesService{client: c}
c.Builds = &BuildsService{client: c}
c.Commits = &CommitsService{client: c} c.Commits = &CommitsService{client: c}
c.DeployKeys = &DeployKeysService{client: c} c.DeployKeys = &DeployKeysService{client: c}
c.Groups = &GroupsService{client: c} c.Groups = &GroupsService{client: c}
c.Issues = &IssuesService{client: c} c.Issues = &IssuesService{client: c}
c.Jobs = &JobsService{client: c}
c.Labels = &LabelsService{client: c} c.Labels = &LabelsService{client: c}
c.MergeRequests = &MergeRequestsService{client: c} c.MergeRequests = &MergeRequestsService{client: c}
c.Milestones = &MilestonesService{client: c} c.Milestones = &MilestonesService{client: c}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment