focalboard/server/services/store/sqlstore/util.go
Doug Lauder b58497e2ea
Replace mlog with server v6 mlog (#1088)
* replace mlog with server v6 mlog
* remove FB mlog from plugin
2021-08-25 16:08:01 -04:00

13 lines
272 B
Go

package sqlstore
import (
"database/sql"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
func (s *SQLStore) CloseRows(rows *sql.Rows) {
if err := rows.Close(); err != nil {
s.logger.Error("error closing MattermostAuthLayer row set", mlog.Err(err))
}
}