mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 14:19:54 +05:00
Add context.Context in SetCDR func signature
This commit is contained in:
committed by
Dan Christian Bogos
parent
ab26ba2d02
commit
2ccd6ca74d
@@ -141,7 +141,7 @@ func (sqls *SQLStorage) RemoveVersions(vrs Versions) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
func (sqls *SQLStorage) SetCDR(cdr *utils.CGREvent, allowUpdate bool) error {
|
||||
func (sqls *SQLStorage) SetCDR(_ *context.Context, cdr *utils.CGREvent, allowUpdate bool) error {
|
||||
tx := sqls.db.Begin()
|
||||
if tx.Error != nil {
|
||||
return tx.Error
|
||||
|
||||
Reference in New Issue
Block a user