Skip to content
This repository was archived by the owner on Dec 10, 2024. It is now read-only.

Commit b5d9b2e

Browse files
committed
Fix comments
1 parent 6069191 commit b5d9b2e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

users.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,10 +1447,11 @@ type UserRunner struct {
14471447
MaximumTimeout int `json:"maximum_timeout"`
14481448
}
14491449

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

0 commit comments

Comments
 (0)