diff options
Diffstat (limited to 'vendor/github.com/xanzy/go-gitlab/keys.go')
-rw-r--r-- | vendor/github.com/xanzy/go-gitlab/keys.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/xanzy/go-gitlab/keys.go b/vendor/github.com/xanzy/go-gitlab/keys.go index 9657e862a9..c520377131 100644 --- a/vendor/github.com/xanzy/go-gitlab/keys.go +++ b/vendor/github.com/xanzy/go-gitlab/keys.go @@ -47,7 +47,7 @@ type Key struct { // // GitLab API docs: // https://docs.gitlab.com/ee/api/keys.html#get-ssh-key-with-user-by-id-of-an-ssh-key -func (s *KeysService) GetKeyWithUser(key int, options ...OptionFunc) (*Key, *Response, error) { +func (s *KeysService) GetKeyWithUser(key int, options ...RequestOptionFunc) (*Key, *Response, error) { u := fmt.Sprintf("keys/%d", key) req, err := s.client.NewRequest("GET", u, nil, options) |