Skip to content
Snippets Groups Projects
Verified Commit 0c922939 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: update gitlab types

parent af3c471d
No related branches found
No related tags found
No related merge requests found
......@@ -304,14 +304,14 @@ func createIssue(issue Issue) (*gitlab.Issue, error) {
searchProject(context)
//title := *string(issue.GitlabIntern.Title)
labels := gitlab.Labels{}
labels := gitlab.LabelOptions{}
for _, label := range issue.GitlabIntern.Labels {
labels = append(labels, label)
}
createionOptions := gitlab.CreateIssueOptions{
Title: gitlab.String(issue.GitlabIntern.Title),
Description: gitlab.String(issue.GitlabIntern.Description),
Title: gitlab.Ptr(issue.GitlabIntern.Title),
Description: gitlab.Ptr(issue.GitlabIntern.Description),
Labels: &labels,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment