Add remote links to the ticket struct
This commit is contained in:
parent
e3e22e071a
commit
bd98139059
2 changed files with 12 additions and 6 deletions
|
@ -104,9 +104,11 @@ func parseGrepLine(line string) (*model.Ticket, error) {
|
|||
text := strings.Join(parts[2:], "")
|
||||
|
||||
return &model.Ticket{
|
||||
"filename": filename,
|
||||
"lineNo": lineNo,
|
||||
"text": text,
|
||||
Data: map[string]interface{}{
|
||||
"filename": filename,
|
||||
"lineNo": lineNo,
|
||||
"text": text,
|
||||
},
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue