mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Added DynamicDataProvider to AgentRequest
This commit is contained in:
committed by
Dan Christian Bogos
parent
da9344128c
commit
1fd9ac009e
@@ -20,6 +20,7 @@ package utils
|
||||
|
||||
import (
|
||||
"net"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -108,7 +109,7 @@ func (onm *OrderedNavigableMap) Set(fullPath *FullPath, val NMInterface) (addedN
|
||||
pathItmsSet = make([]PathItems, len(*val.(*NMSlice)))
|
||||
for i := 0; i < val.Len(); i++ {
|
||||
pathItms := fullPath.PathItems.Clone()
|
||||
pathItms[len(pathItms)-1].Index = IntPointer(i)
|
||||
pathItms[len(pathItms)-1].Index = StringPointer(strconv.Itoa(i))
|
||||
pathItmsSet[i] = pathItms
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user