Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RicePatrick committed Aug 4, 2023
1 parent 6069191 commit b5d9b2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions users.go
Original file line number Diff line number Diff line change
Expand Up @@ -1447,10 +1447,11 @@ type UserRunner struct {
MaximumTimeout int `json:"maximum_timeout"`
}

// GetUserMemberships retrieves a list of the user's memberships.
// CreateUserRunner creates a new runner using the user-based flow and returns the authentication
// token.
//
// GitLab API docs:
// https://docs.gitlab.com/ee/api/users.html#user-memberships
// https://docs.gitlab.com/ee/api/users.html#create-a-runner
func (s *UsersService) CreateUserRunner(runnerOpts *CreateUserRunnerOptions, options ...RequestOptionFunc) (*UserRunner, *Response, error) {
// The user who owns the runner comes from the access token used to authorize the request.
u := "user/runners"
Expand Down

0 comments on commit b5d9b2e

Please sign in to comment.