From 245e61e4f1631f57159a8a01cce2c09e88608d7d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Jan 2022 13:37:15 +0100 Subject: Bump github.com/xanzy/go-gitlab from 0.50.4 to 0.54.1 (#732) * Bump github.com/xanzy/go-gitlab from 0.50.4 to 0.54.1 Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.50.4 to 0.54.1. - [Release notes](https://github.com/xanzy/go-gitlab/releases) - [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go) - [Commits](https://github.com/xanzy/go-gitlab/compare/v0.50.4...v0.54.1) --- updated-dependencies: - dependency-name: github.com/xanzy/go-gitlab dependency-type: direct:production update-type: version-update:semver-minor ... Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: 6543 <6543@obermui.de> --- bridge/gitlab/export.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bridge') diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go index 9c3864ec..e6587eba 100644 --- a/bridge/gitlab/export.go +++ b/bridge/gitlab/export.go @@ -525,10 +525,11 @@ 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: labels, + Labels: &gitlabLabels, }, gitlab.WithContext(ctx), ) -- cgit