From 4143c3d176bdf6d776c4d8fd20eccbc2b5e0734b Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 25 Oct 2020 01:05:34 +0200 Subject: Vendor: updage xanzy/go-gitlab to v0.38.2 (#473) * build(deps): bump github.com/xanzy/go-gitlab from 0.33.0 to 0.38.2 * migrate * refactor --- bridge/gitlab/export.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bridge') diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go index f32ec0e3..c3aa6202 100644 --- a/bridge/gitlab/export.go +++ b/bridge/gitlab/export.go @@ -525,11 +525,10 @@ func updateGitlabIssueTitle(ctx context.Context, gc *gitlab.Client, repositoryID func updateGitlabIssueLabels(ctx context.Context, gc *gitlab.Client, repositoryID string, issueID int, labels []string) error { ctx, cancel := context.WithTimeout(ctx, defaultTimeout) defer cancel() - gitlabLabels := gitlab.Labels(labels) _, _, err := gc.Issues.UpdateIssue( repositoryID, issueID, &gitlab.UpdateIssueOptions{ - Labels: &gitlabLabels, + Labels: labels, }, gitlab.WithContext(ctx), ) -- cgit