aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2022-01-05 13:37:15 +0100
committerGitHub <noreply@github.com>2022-01-05 13:37:15 +0100
commit245e61e4f1631f57159a8a01cce2c09e88608d7d (patch)
tree51f795312924562f2c0a79fff4e08dde5bcd717f /bridge/gitlab
parentee40c1cfe2463d4002a9a51e0939fda62d26c8cd (diff)
downloadgit-bug-245e61e4f1631f57159a8a01cce2c09e88608d7d.tar.gz
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>
Diffstat (limited to 'bridge/gitlab')
-rw-r--r--bridge/gitlab/export.go3
1 files changed, 2 insertions, 1 deletions
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),
)