Skip to content

Commit

Permalink
writing extract report fix
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Apr 13, 2018
1 parent d4dc5bb commit a4b7eef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions naprrql/report-resolvers.go
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,12 @@ func buildReportResolvers() map[string]interface{} {
ok = false
} else {
resp, ok = responses[0].(xml.NAPResponseSet)
if ok {
ok = (len(resp.TestletList.Testlet) != 0)
if ok {
ok = (len(resp.TestletList.Testlet[0].ItemResponseList.ItemResponse) != 0)
}
}
}
if ok {
for _, testlet := range resp.TestletList.Testlet {
Expand Down

0 comments on commit a4b7eef

Please sign in to comment.