From b69dce907ed43ae71b8d07c0e9a87400c21142e1 Mon Sep 17 00:00:00 2001 From: Miguel de la Cruz Date: Sun, 1 Mar 2020 13:03:47 +0100 Subject: [PATCH] Fix linter --- cmd/standalone.go | 2 +- jira/jira.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/standalone.go b/cmd/standalone.go index 2d26131..b9aa978 100644 --- a/cmd/standalone.go +++ b/cmd/standalone.go @@ -89,7 +89,7 @@ func createJiraTicketStandaloneCmdF(cmd *cobra.Command, _ []string) error { varMap, err := getVarMap(vars) if err != nil { - return fmt.Errorf("error processing vars: %w") + return fmt.Errorf("error processing vars: %w", err) } sumTmpl, err := template.New("").Parse(summaryTmplStr) diff --git a/jira/jira.go b/jira/jira.go index fbb5431..57e0912 100644 --- a/jira/jira.go +++ b/jira/jira.go @@ -22,7 +22,7 @@ type JiraIssueFields struct { } type JiraIssue struct { - Key string `json:"key"` + Key string `json:"key"` Fields JiraIssueFields `json:"fields"` }