mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 21:59:53 +05:00
corrected compilation error
This commit is contained in:
@@ -287,7 +287,11 @@ func (at *ActionTiming) store() (result string) {
|
||||
result += ubi + ","
|
||||
}
|
||||
result = strings.TrimRight(result, ",") + "|"
|
||||
result += at.Timing.store() + "|"
|
||||
if at.Timing != nil {
|
||||
result += at.Timing.store() + "|"
|
||||
} else {
|
||||
result += " |"
|
||||
}
|
||||
result += strconv.FormatFloat(at.Weight, 'f', -1, 64) + "|"
|
||||
result += at.ActionsId
|
||||
return
|
||||
|
||||
@@ -100,3 +100,8 @@ func (psl *PostgresStorage) GetCallCostLog(uuid string) (cc *CallCost, err error
|
||||
err = json.Unmarshal([]byte(timespansJson), cc.Timespans)
|
||||
return
|
||||
}
|
||||
|
||||
func (psl *PostgresStorage) LogActionTrigger(ubId string, at *ActionTrigger, as []*Action) (err error) {
|
||||
return
|
||||
}
|
||||
func (psl *PostgresStorage) LogActionTiming(at *ActionTiming, as []*Action) (err error) { return }
|
||||
|
||||
Reference in New Issue
Block a user