Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
don't lint the unreachable error check
Browse files Browse the repository at this point in the history
  • Loading branch information
teemukataja committed Nov 2, 2021
1 parent 76e03ae commit 0aa5af3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ func (dbs *SQLdb) getFiles(datasetID string) ([]*FileInfo, error) {
"decrypted_file_size, decrypted_file_checksum, decrypted_file_checksum_type, file_status from " +
"local_ega_ebi.file a, local_ega_ebi.file_dataset b WHERE dataset_id = $1 AND a.file_id=b.file_id;"

// nolint:rowserrcheck
rows, err := db.Query(query, datasetID)
if err != nil {
log.Error(err)
Expand Down

0 comments on commit 0aa5af3

Please sign in to comment.