diff options
author | 6543 <6543@obermui.de> | 2020-10-25 01:05:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-25 01:05:34 +0200 |
commit | 4143c3d176bdf6d776c4d8fd20eccbc2b5e0734b (patch) | |
tree | eef85a0e5febe46d2823c338aabe52d4d0f6a1b5 /bridge/gitlab/export.go | |
parent | ab7eca4a86cc97e787c59dff78bb347952393c48 (diff) | |
download | git-bug-4143c3d176bdf6d776c4d8fd20eccbc2b5e0734b.tar.gz |
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
Diffstat (limited to 'bridge/gitlab/export.go')
-rw-r--r-- | bridge/gitlab/export.go | 3 |
1 files changed, 1 insertions, 2 deletions
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), ) |