From ee64e5a0df081c31fc9a9707a296f232b33f7ad2 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Wed, 30 Jul 2014 19:36:57 +0300 Subject: [PATCH] fixed Scan --- engine/storage_sql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/storage_sql.go b/engine/storage_sql.go index 61c5655d6..2d6e75897 100644 --- a/engine/storage_sql.go +++ b/engine/storage_sql.go @@ -1348,7 +1348,7 @@ func (self *SQLStorage) GetTpActionTriggers(tpid, tag string) (map[string][]*uti var recurrent bool var min_sleep time.Duration var min_queued_items int - if err := rows.Scan(&tpid, &tag, &balances_type, &direction, &threshold_type, &threshold, &recurrent, &min_sleep, &destinations_tag, &actions_tag, &weight); err != nil { + if err := rows.Scan(&tpid, &tag, &balances_type, &direction, &threshold_type, &threshold, &recurrent, &min_sleep, &destinations_tag, &balance_weight, &balance_expiration_time, &balance_rating_subject, &balance_shared_group, &min_queued_items, &actions_tag, &weight); err != nil { return nil, err }