Skip to content
Snippets Groups Projects
Commit 15b1ff36 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

more locking

parent 43ffa15e
No related branches found
No related tags found
1 merge request!155Northbound Interface
Pipeline #70022 failed
......@@ -115,6 +115,8 @@ func fillOnds(pnd nucleus.PrincipalNetworkDomain) (*ppb.OrchestratedNetworkingDe
func fillSbis(pnd nucleus.PrincipalNetworkDomain) (*ppb.SouthboundInterfaces, error) {
sbis := make(map[string]*ppb.SouthboundInterface)
sbiLock.RLock()
defer sbiLock.RUnlock()
sbic := pnd.GetSBIs().(*nucleus.SbiStore)
for _,id := range sbic.UUIDs() {
sbi, err := sbic.Get(id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment