From 33bfeed73163bccec85f514ddc5f81a757c95abe Mon Sep 17 00:00:00 2001 From: noamd Date: Tue, 26 Sep 2023 15:25:29 +0300 Subject: [PATCH] compare full path to support nested groups --- internal/clients/gitlab/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/clients/gitlab/client.go b/internal/clients/gitlab/client.go index cdd932fd..4f54d5d2 100644 --- a/internal/clients/gitlab/client.go +++ b/internal/clients/gitlab/client.go @@ -156,7 +156,7 @@ func (c *Client) Group(name string) (*gitlab.Group, error) { } for _, g := range res.Collected { - if g.Path == name { + if g.FullPath == name { return g, nil } }