Skip to content

Commit

Permalink
updated vmm controller (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
RutvikS-crest authored and lhercot committed Dec 17, 2021
1 parent 2ff99c0 commit 6f031fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client/vmmCtrlrP_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,12 @@ func (sm *ServiceManager) ReadRelationvmmRsVmmCtrlrP(parentDn string) (interface
cont, err := sm.GetViaURL(dnUrl)
contList := models.ListFromContainer(cont, "vmmRsVmmCtrlrP")

st := &schema.Set{
F: schema.HashString,
}
st := make([]map[string]string, 0, 1)
for _, contItem := range contList {
dat := models.G(contItem, "tDn")
st.Add(dat)
paramMap := make(map[string]string)
paramMap["epgDeplPref"] = models.G(contItem, "epgDeplPref")
paramMap["tDn"] = models.G(contItem, "tDn")
st = append(st, paramMap)
}
return st, err
}
Expand Down

0 comments on commit 6f031fe

Please sign in to comment.