(b *cache.BugCache, target entity.Id, gitlabID, gitlabURL string)
| 407 | } |
| 408 | |
| 409 | func markOperationAsExported(b *cache.BugCache, target entity.Id, gitlabID, gitlabURL string) error { |
| 410 | _, err := b.SetMetadata( |
| 411 | target, |
| 412 | map[string]string{ |
| 413 | metaKeyGitlabId: gitlabID, |
| 414 | metaKeyGitlabUrl: gitlabURL, |
| 415 | }, |
| 416 | ) |
| 417 | |
| 418 | return err |
| 419 | } |
| 420 | |
| 421 | // create a gitlab. issue and return it ID |
| 422 | func createGitlabIssue(ctx context.Context, gc *gitlab.Client, repositoryID, title, body string) (int, int, string, error) { |