aboutsummaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-03 13:29:29 +0000
committerGitHub <noreply@github.com>2019-11-03 13:29:29 +0000
commit16bd116971bb7abc7308e95c474b433512672432 (patch)
tree9ff0abe956baed511f47b456f94863fec2e08cf3 /bridge
parent8c7c9880b1adcf876ad63ea39e46e62bd7ebde5d (diff)
parent4666763d4dfc5623ee2b2423a759de50aad151b7 (diff)
downloadgit-bug-16bd116971bb7abc7308e95c474b433512672432.tar.gz
Merge pull request #234 from MichaelMure/dependabot/dep/github.com/xanzy/go-gitlab-0.21.0
build(deps): bump github.com/xanzy/go-gitlab from 0.20.0 to 0.21.0
Diffstat (limited to 'bridge')
-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 7cbbf903..251d720a 100644
--- a/bridge/gitlab/export.go
+++ b/bridge/gitlab/export.go
@@ -494,10 +494,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),
)