Skip to content

Commit

Permalink
patch: Expose underlying gitlab.Client for internal use
Browse files Browse the repository at this point in the history
  • Loading branch information
cluttrdev committed May 31, 2024
1 parent 4e1582c commit 30df05e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/gitlab/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ func NewGitLabClient(cfg ClientConfig) (*Client, error) {
return &client, nil
}

func (c *Client) Client() *gitlab.Client {
return c.client
}

func (c *Client) Configure(cfg ClientConfig) error {
opts := []gitlab.ClientOptionFunc{
gitlab.WithBaseURL(cfg.URL),
Expand Down

0 comments on commit 30df05e

Please sign in to comment.