Fix linter

This commit is contained in:
Miguel de la Cruz 2020-03-05 20:42:46 +01:00
parent 1b66405f39
commit f5f721e6ef

View file

@ -1,9 +1,9 @@
package jira package jira
import ( import (
"bytes"
"encoding/json" "encoding/json"
"fmt" "fmt"
"bytes"
"text/template" "text/template"
"git.ctrlz.es/mgdelacroix/campaigner/model" "git.ctrlz.es/mgdelacroix/campaigner/model"
@ -40,10 +40,10 @@ func (c *JiraClient) GetIssueFromTicket(ticket *model.Ticket, campaign *model.Ca
data := map[string]string{ data := map[string]string{
"Description": description, "Description": description,
"Summary": summary, "Summary": summary,
"Project": campaign.Project, "Project": campaign.Project,
"Issue Type": "Story", "Issue Type": "Story",
"Epic Link": campaign.Epic, "Epic Link": campaign.Epic,
} }
if team, ok := ticket.Data["team"]; ok { if team, ok := ticket.Data["team"]; ok {