Skip to content

Commit

Permalink
Fix: fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
andy89923 committed Jan 10, 2024
1 parent a849901 commit 14f6077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/abmf/abmf.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ func handleCCR() diam.HandlerFunc {
chargingBsonM := make(bson.M)
chargingBsonM["quota"] = strconv.FormatInt(quota, 10)
logger.AcctLog.Warnln("quota:", quota)
if _, err := mongoapi.RestfulAPIPutOne(chargingDatasColl, filter, chargingBsonM); err != nil {
logger.AcctLog.Errorf("RestfulAPIPutOne err: %+v", err)
if _, err1 := mongoapi.RestfulAPIPutOne(chargingDatasColl, filter, chargingBsonM); err1 != nil {
logger.AcctLog.Errorf("RestfulAPIPutOne err: %+v", err1)
}

a := m.Answer(diam.Success)
Expand Down

0 comments on commit 14f6077

Please sign in to comment.