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) { ...@@ -304,14 +304,14 @@ func createIssue(issue Issue) (*gitlab.Issue, error) {
searchProject(context) searchProject(context)
//title := *string(issue.GitlabIntern.Title) //title := *string(issue.GitlabIntern.Title)
labels := gitlab.Labels{} labels := gitlab.LabelOptions{}
for _, label := range issue.GitlabIntern.Labels { for _, label := range issue.GitlabIntern.Labels {
labels = append(labels, label) labels = append(labels, label)
} }
createionOptions := gitlab.CreateIssueOptions{ createionOptions := gitlab.CreateIssueOptions{
Title: gitlab.String(issue.GitlabIntern.Title), Title: gitlab.Ptr(issue.GitlabIntern.Title),
Description: gitlab.String(issue.GitlabIntern.Description), Description: gitlab.Ptr(issue.GitlabIntern.Description),
Labels: &labels, Labels: &labels,
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment