aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/gitlab
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/gitlab')
-rw-r--r--bridge/gitlab/export.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go
index 3beaec38..8cf8decf 100644
--- a/bridge/gitlab/export.go
+++ b/bridge/gitlab/export.go
@@ -526,7 +526,7 @@ 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)
+ gitlabLabels := gitlab.LabelOptions(labels)
_, _, err := gc.Issues.UpdateIssue(
repositoryID, issueID,
&gitlab.UpdateIssueOptions{