Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
Fix reading job total files
Browse files Browse the repository at this point in the history
  • Loading branch information
vierbergenlars committed Jan 28, 2021
1 parent 8af4559 commit c201eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataaccess.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (connection Connection) JobList() ([]JobInfo, error) {

for results.Next() {
var jobInfo JobInfo
err = results.Scan(&jobInfo.JobName, &jobInfo.JobType, &jobInfo.clientId, &jobInfo.fileSetId, &jobInfo.ClientName, &jobInfo.FileSetName, &jobInfo.TotalCount, &jobInfo.TotalBytes, &jobInfo.TotalBytes)
err = results.Scan(&jobInfo.JobName, &jobInfo.JobType, &jobInfo.clientId, &jobInfo.fileSetId, &jobInfo.ClientName, &jobInfo.FileSetName, &jobInfo.TotalCount, &jobInfo.TotalBytes, &jobInfo.TotalFiles)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit c201eb9

Please sign in to comment.