Fix linter

This commit is contained in:
Ben Johnson 2021-05-07 11:15:13 -06:00
parent 7e804d7d08
commit 21c6203438
2 changed files with 2 additions and 2 deletions

View file

@ -282,7 +282,7 @@ func (s *attrStore) WriteTo(w io.Writer) (int64, error) {
if err != nil {
return 0, err
}
defer tx.Rollback()
defer func() { _ = tx.Rollback() }()
return tx.WriteTo(w)
}

View file

@ -82,7 +82,7 @@ func (ida *idAllocator) WriteTo(w io.Writer) (int64, error) {
if err != nil {
return 0, err
}
defer tx.Rollback()
defer func() { _ = tx.Rollback() }()
return tx.WriteTo(w)
}