-vet
This commit is contained in:
parent
0a751aa722
commit
4337b2837d
2
data.go
2
data.go
@ -98,7 +98,7 @@ func (d *Data) getProject() {
|
||||
e = json.NewDecoder(r.Body).Decode(&p)
|
||||
|
||||
if len(p.Projects) < 1 {
|
||||
e = fmt.Errorf("no project found with id", d.projectId)
|
||||
e = fmt.Errorf("no project found with id %d", d.projectId)
|
||||
} else {
|
||||
// filter out obsolete versions
|
||||
project = p.Projects[0]
|
||||
|
Loading…
Reference in New Issue
Block a user