Added DynamicDataProvider to AgentRequest

This commit is contained in:
Trial97
2020-05-20 10:39:05 +03:00
committed by Dan Christian Bogos
parent da9344128c
commit 1fd9ac009e
13 changed files with 316 additions and 294 deletions

View File

@@ -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 {