Skip to content

Commit

Permalink
[lint] missing error return caught!
Browse files Browse the repository at this point in the history
  • Loading branch information
arielshaqed committed Oct 29, 2020
1 parent 8e579d0 commit 1a369aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/cataloger_export.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func (c *cataloger) ExportStateMarkEnd(tx db.Tx, repo string, branch string, ref
return fmt.Errorf("ExportMarkEnd: end export: %w", err)
}
if tag.RowsAffected() != 1 {
err = fmt.Errorf("ExportMarkEnd: could not find export to end: %s %w", tag, ErrExportFailed)
return fmt.Errorf("ExportMarkEnd: could not find export to end: %s %w", tag, ErrExportFailed)
}
return nil
}
Expand Down

0 comments on commit 1a369aa

Please sign in to comment.